summaryrefslogtreecommitdiff
path: root/app/views/devise/sessions/_new_ldap.html.haml
diff options
context:
space:
mode:
authorJ. Francisco Raposerias <rapofran@gmail.com>2013-03-04 17:54:26 -0300
committerJ. Francisco Raposerias <rapofran@gmail.com>2013-03-04 17:54:26 -0300
commita40541c42d01614c4d1aecab5f3be17b0178fcf1 (patch)
tree0feed7864850be0a06d6c4ebcc86fd5ec4f09639 /app/views/devise/sessions/_new_ldap.html.haml
parent730e79e78785857fd706b73252547a5c7f6431d9 (diff)
downloadgitlab-ce-a40541c42d01614c4d1aecab5f3be17b0178fcf1.tar.gz
add autofocus to username input
Diffstat (limited to 'app/views/devise/sessions/_new_ldap.html.haml')
-rw-r--r--app/views/devise/sessions/_new_ldap.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/devise/sessions/_new_ldap.html.haml b/app/views/devise/sessions/_new_ldap.html.haml
index 7968b0e9c9f..eb8c5194607 100644
--- a/app/views/devise/sessions/_new_ldap.html.haml
+++ b/app/views/devise/sessions/_new_ldap.html.haml
@@ -1,6 +1,6 @@
= form_tag(user_omniauth_callback_path(:ldap), :class => "login-box", :id => 'new_ldap_user' ) do
= image_tag "login-logo.png", :width => "304", :height => "66", :class => "login-logo", :alt => "Login Logo"
- = text_field_tag :username, nil, {:class => "text top", :placeholder => "LDAP Login"}
+ = text_field_tag :username, nil, {:class => "text top", :placeholder => "LDAP Login", :autofocus => "autofocus"}
= password_field_tag :password, nil, {:class => "text bottom", :placeholder => "Password"}
%br/
= submit_tag "LDAP Sign in", :class => "btn-primary btn"