= devise_form_area_tag do .well.sign_in %h2= t('.change_your_password', :default => 'Change your password') = simple_form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f| = f.input :reset_password_token, as: :hidden = f.full_error :reset_password_token,class: ["has-error"] .form-inputs = f.input :password, label: t('.new_password', :default =>"New password"), required: true, autofocus: true = f.input :password_confirmation, label: t('.confirm_new_password', :default =>"Confirm your new password"), required: true,input_html:{maxlength: Devise.password_length.max} .form-actions = f.button :submit,t('.change_my_password', :default => "Change my password") = render "devise/shared/links"