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

19 lines
549 B
Plaintext
Raw Normal View History

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