2009-02-06 20:51:14 +01:00
|
|
|
- title "Neues Passwort"
|
|
|
|
%p=h "Bitte neues Passwort für #{@user.nick} eingeben."
|
|
|
|
.edit_form{:style => "width:25em"}
|
2009-04-17 12:06:36 +02:00
|
|
|
- form_for @user, :url => {:action => 'update_password', :id => @user.id, :token => @user.reset_password_token} do |form|
|
|
|
|
= form.error_messages :header_message => ""
|
2009-02-06 20:51:14 +01:00
|
|
|
%p
|
|
|
|
Neues Passwort
|
|
|
|
%br/
|
2009-04-17 12:06:36 +02:00
|
|
|
= form.password_field :password
|
2009-02-06 20:51:14 +01:00
|
|
|
%p
|
|
|
|
Passwort wiederholen
|
|
|
|
%br/
|
2009-04-17 12:06:36 +02:00
|
|
|
= form.password_field :password_confirmation
|
|
|
|
= form.submit 'Speichern'
|
2009-02-06 20:51:14 +01:00
|
|
|
|
|
2010-03-20 14:49:46 +01:00
|
|
|
= link_to 'Abbrechen', login_path
|