engine/app/views/admin/passwords/edit.html.haml

19 lines
568 B
Plaintext
Raw Normal View History

2010-04-22 23:52:11 +00:00
- title t('.title')
= semantic_form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :put }) do |f|
= f.hidden_field :reset_password_token
.inner
= flash_message
= f.inputs do
= f.input :password, :label => t('.password'), :required => false
= f.input :password_confirmation, :label => t('.password_confirmation'), :required => false
%p.link
= link_to t('.link'), new_account_session_path(resource_name)
.footer
= submit_button_tag t('buttons.change_password')