clearer login field name
This commit is contained in:
parent
c37ed74942
commit
f7a0103553
5 changed files with 4 additions and 10 deletions
|
|
@ -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'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue