foodsoft/app/views/login/password.html.haml

17 lines
535 B
Text

- title "Neues Passwort"
%p=h "Bitte neues Passwort für #{@user.nick} eingeben."
- if flash[:error]
%p{:style => "color: red"}= flash[:error]
.edit_form{:style => "width:25em"}
- form_tag(:action => 'new', :id => @user.id, :token => @user.reset_password_token) do
%p
Neues Passwort
%br/
= password_field_tag "user[password]"
%p
Passwort wiederholen
%br/
= password_field_tag "user[password_confirmation]"
= submit_tag 'Speichern'
|
= link_to 'abbrechen', :action => 'login'