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

View file

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