finish login i18n + controller
This commit is contained in:
parent
419f5ef0ad
commit
b12a906a74
6 changed files with 58 additions and 34 deletions
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue