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
2013-02-14 22:12:30 +00:00

15 lines
453 B
Plaintext

%h3 Change your password
= semantic_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
= f.inputs do
= f.input :password, :label => "New Password"
= f.input :password_confirmation, :label => "Confirm Password"
= f.actions do
= f.submit "Change my password"
= render :partial => "devise/shared/links"