finish login i18n + controller

This commit is contained in:
wvengen 2013-02-05 12:54:55 +01:00
parent 419f5ef0ad
commit b12a906a74
6 changed files with 58 additions and 34 deletions

View file

@ -1,7 +1,7 @@
- title "Neues Passwort"
%p=h "Bitte neues Passwort für #{@user.nick} eingeben."
- title t('.title')
= t('.body', user: h(@user.nick)).html_safe
= simple_form_for @user, :url => {:action => 'update_password', :id => @user.id, :token => @user.reset_password_token} do |form|
= form.input :password
= form.input :password_confirmation
.form-actions
= form.submit 'Neues Passwort speichern', class: 'btn'
= form.submit t('.submit'), class: 'btn'