2014-09-01 12:57:27 +03:00
|
|
|
- content_for(:title) { ":: #{t :change_pass}" }
|
|
|
|
|
2014-08-31 21:46:03 +03:00
|
|
|
h2.entry-title = t :change_pass
|
2014-08-31 12:37:17 +03:00
|
|
|
|
|
|
|
= simple_form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f|
|
|
|
|
= f.error_notification
|
|
|
|
|
|
|
|
= f.input :reset_password_token, as: :hidden
|
|
|
|
= f.full_error :reset_password_token
|
|
|
|
|
|
|
|
.form-inputs
|
|
|
|
= f.input :password, required: true, autofocus: true
|
|
|
|
= f.input :password_confirmation, required: true
|
|
|
|
|
|
|
|
.form-actions
|
2014-08-31 21:46:03 +03:00
|
|
|
= f.button :submit, t(:change_pass)
|
2014-08-31 12:37:17 +03:00
|
|
|
|
|
|
|
= render 'devise/shared/links'
|