2010-04-22 23:52:11 +00:00
|
|
|
- title t('.title')
|
|
|
|
|
2010-06-10 22:07:59 +00:00
|
|
|
= semantic_form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :put }) do |f|
|
2010-04-22 23:52:11 +00:00
|
|
|
|
|
|
|
= f.hidden_field :reset_password_token
|
|
|
|
|
|
|
|
.inner
|
2011-11-04 15:55:51 +00:00
|
|
|
= flash_message
|
2010-07-21 23:56:42 +00:00
|
|
|
|
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
|
2010-07-21 23:56:42 +00:00
|
|
|
|
2010-04-22 23:52:11 +00:00
|
|
|
%p.link
|
2011-11-04 15:55:51 +00:00
|
|
|
= link_to preserve(t('.link')), new_locomotive_account_session_path
|
2010-07-21 23:56:42 +00:00
|
|
|
|
2010-04-22 23:52:11 +00:00
|
|
|
.footer
|
2011-11-04 15:55:51 +00:00
|
|
|
= submit_tag t('locomotive.buttons.change_password')
|