clarion/lib/initfest/views/devise/passwords/edit.slim

19 lines
539 B
Plaintext
Raw Normal View History

2015-08-15 05:59:46 +03:00
- content_for(:title) { "#{t :change_pass}" }
2015-08-15 04:33:02 +03:00
h2.entry-title = t :change_pass
2015-08-15 05:59:46 +03:00
= simple_form_for(resource, wrapper: :default, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f|
2015-08-15 04:33:02 +03:00
= 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, t(:change_pass)
= render 'devise/shared/links'