clearer login field name

This commit is contained in:
wvengen 2013-10-30 21:28:35 +01:00
parent c37ed74942
commit f7a0103553
5 changed files with 4 additions and 10 deletions

View file

@ -12,12 +12,14 @@
= form_tag sessions_path, class: 'form-horizontal' do
.control-group
%label(for='nick' class='control-label')= t '.user'
%label(for='nick' class='control-label')
= User.human_attribute_name (FoodsoftConfig[:use_nick] ? :user : :email)
.controls
= text_field_tag 'nick', nil, autocapitalize: 'off', autocorrect: 'off'
.control-group
%label(for='password' class='control-label')= t '.password'
%label(for='password' class='control-label')
= User.human_attribute_name :password
.controls
= password_field_tag 'password', nil, autocapitalize: 'off', autocorrect: 'off'

View file

@ -1333,9 +1333,7 @@ de:
login: Anmelden
nojs: Achtung, Cookies und Javascript müssen aktiviert sein! %{link} bitte abschalten.
noscript: NoScript
password: Passwort
title: Foodsoft anmelden
user: Benutzerin
shared:
articles:
ordered: Bestellt

View file

@ -1338,9 +1338,7 @@ en:
login: Login
nojs: Attention, cookies and javascript have to be activated! Please switch off %{link}.
noscript: NoScript
password: Password
title: Foodsoft login
user: User
shared:
articles:
ordered: Ordered

View file

@ -1340,9 +1340,7 @@ fr:
login: Te connecter
nojs: Attention, les cookies et le javascript doivent être activés! Merci de désactiver %{link}.
noscript: NoScript
password: Mot de passe
title: Te connecter à Foodsoft
user: Identifiant
shared:
articles:
ordered: Commandé

View file

@ -1267,9 +1267,7 @@ nl:
login: Aanmelden
nojs: Opgelet, cookies en javascript moeten toegelaten worden! %{link} uitzetten, alsjeblieft.
noscript: NoScript
password: Wachtwoord
title: Foodsoft aanmelden
user: Gebruiker
shared:
articles:
ordered: Besteld