clarion/app/views/devise/passwords/edit.html.slim
2014-08-31 12:37:17 +03:00

17 lines
512 B
Plaintext

h2.entry-title Промяна на парола
= 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
= f.button :submit, 'Промяна на паролата'
= render 'devise/shared/links'