do not autocapitalize or autocorrect on login fields to avoid login errors on iPad/iPhone

This commit is contained in:
wvengen 2013-06-26 00:42:09 +02:00
parent 91c8be6b6c
commit dddd11d8f0
1 changed files with 2 additions and 2 deletions

View File

@ -14,12 +14,12 @@
.control-group
%label(for='nick' class='control-label')= t '.user'
.controls
= text_field_tag 'nick'
= text_field_tag 'nick', nil, autocapitalize: 'off', autocorrect: 'off'
.control-group
%label(for='password' class='control-label')= t '.password'
.controls
= password_field_tag 'password'
= password_field_tag 'password', nil, autocapitalize: 'off', autocorrect: 'off'
.control-group
.controls