diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-03-07 01:55:19 -0800 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-03-07 01:55:19 -0800 |
commit | a32f85ac76c0744952264378f42e01e83d85f986 (patch) | |
tree | 9b3b31791e107eeeccb61ed03dcd76da6ee706d6 | |
parent | 0d66fa89fc34bfe02d2f6a99dbf66dcd921290fe (diff) | |
parent | a40541c42d01614c4d1aecab5f3be17b0178fcf1 (diff) | |
download | gitlab-ce-a32f85ac76c0744952264378f42e01e83d85f986.tar.gz |
Merge pull request #3139 from rapofran/auto_focus_ldap_login
Autofocus to username input (LDAP login).
-rw-r--r-- | app/views/devise/sessions/_new_ldap.html.haml | 2 |
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" |