engine/app/views/admin/passwords/edit.html.haml
2010-07-22 01:56:42 +02:00

19 lines
558 B
Plaintext

- 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
= login_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 preserve(t('.link')), new_admin_session_path
.footer
= login_button_tag t('admin.buttons.change_password')