summaryrefslogtreecommitdiff
path: root/app/views/devise
diff options
context:
space:
mode:
authorDaryl Chan <dckj95@gmail.com>2015-07-25 17:51:22 +0800
committerDaryl Chan <dckj95@gmail.com>2015-07-29 15:42:52 +0800
commite72a9685f3298536568e885afb1d5dabd9b315c5 (patch)
tree2d887a1451f9b07b2fb7532aa67eda92da338c7f /app/views/devise
parente6feb987737ba2954ccf70de6607e6ff84029d3a (diff)
downloadgitlab-ce-e72a9685f3298536568e885afb1d5dabd9b315c5.tar.gz
Added tags to disable autocapitalize and autocorrect on login field
- Updated CHANGELOG
Diffstat (limited to 'app/views/devise')
-rw-r--r--app/views/devise/sessions/_new_base.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/devise/sessions/_new_base.html.haml b/app/views/devise/sessions/_new_base.html.haml
index 54a39726771..9f5520603cd 100644
--- a/app/views/devise/sessions/_new_base.html.haml
+++ b/app/views/devise/sessions/_new_base.html.haml
@@ -1,5 +1,5 @@
= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f|
- = f.text_field :login, class: "form-control top", placeholder: "Username or Email", autofocus: "autofocus"
+ = f.text_field :login, class: "form-control top", placeholder: "Username or Email", autofocus: "autofocus", autocapitalize: "off", autocorrect: "off"
= f.password_field :password, class: "form-control bottom", placeholder: "Password"
- if devise_mapping.rememberable?
.remember-me.checkbox