diaspora/app/views/devise/passwords/edit.haml
2012-03-12 12:49:47 +01:00

18 lines
611 B
Text

.span-12.prepend-6.last
.floating
%h2
= t('.change_password')
= form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :put }) do |f|
= devise_error_messages!
= f.hidden_field :reset_password_token
%p
= f.label :password, t('password')
%br/
= f.password_field :password
%p
= f.label :password_confirmation, t('password_confirmation')
%br/
= f.password_field :password_confirmation
%p
= f.submit t('.change_password')
= render :partial => "devise/shared/links"