foodsoft/app/views/login/new_password.html.haml

7 lines
300 B
Text

- title t('.title')
= t('.body', user: h(@user.nick)).html_safe
= simple_form_for @user, :url => update_password_path(@user.id, :token => @user.reset_password_token) do |form|
= form.input :password
= form.input :password_confirmation
.form-actions
= form.submit t('.submit'), class: 'btn'