1
0
mirror of https://github.com/danbee/danbarberphoto synced 2025-03-04 08:49:07 +00:00
danbarberphoto/app/views/admin/passwords/edit.html.haml
2014-03-06 17:58:38 +00:00

15 lines
478 B
Plaintext

%h3 Change your password
= simple_form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f|
= devise_error_messages!
= f.hidden_field :reset_password_token
= inputs_field_set do
= f.input :password, label: "New Password", required: true
= f.input :password_confirmation, label: "Confirm Password", required: true
= actions_field_set do
= f.submit "Change my password"
= render partial: "devise/shared/links"