edit.html.haml revision f09f213473bc50378e9630c851e7ab4c1db07d1b
%h2- @page_title = 'Change your password'
= semantic_form_for resource, :url => password_path(resource_name), :method => :put do |f|
= f.hidden_field :reset_password_token
= f.inputs do
= f.input :password, :label => 'New password', :required => false, :input_html => {:required => true, :autofocus => true}
= f.input :password_confirmation, :label => 'Confirm new password', :required => false, :input_html => {:required => true}
= f.actions do
= f.action :submit, :label => "Change my password", :button_html => { 'data-disable-with' => t(:wait) }
= render "links"