diff options
author | Bryce Johnson <bryce@gitlab.com> | 2016-10-17 17:44:16 +0200 |
---|---|---|
committer | Bryce Johnson <bryce@gitlab.com> | 2016-10-18 11:12:41 +0200 |
commit | d3e64a951c3369e4b60e0aec626f4ed682045aad (patch) | |
tree | 591caeed3c6db946398ee3271601d74e57818108 /app/views/devise | |
parent | 4e6af0c3fa335d138343dce3e0216303a9b1cd79 (diff) | |
download | gitlab-ce-d3e64a951c3369e4b60e0aec626f4ed682045aad.tar.gz |
Fix aesthetic issues on LDAP login.
Diffstat (limited to 'app/views/devise')
-rw-r--r-- | app/views/devise/sessions/_new_ldap.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/devise/sessions/_new_ldap.html.haml b/app/views/devise/sessions/_new_ldap.html.haml index b26efbb4535..f83231bc9aa 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(omniauth_callback_path(:user, server['provider_name']), id: 'new_ldap_user', class: "show-gl-field-errors") do .form-group - = label_tag "#{server['label']} Login", for: :username + = label_tag :username, "#{server['label']} Login" = text_field_tag :username, nil, {class: "form-control top", title: "This field is required.", autofocus: "autofocus", required: true } .form-group = label_tag :password @@ -10,4 +10,4 @@ %label{for: "remember_me"} = check_box_tag :remember_me, '1', false, id: 'remember_me' %span Remember me - = button_tag "Sign in", class: "btn-save btn" + = button_tag "Sign in", class: "btn-save btn btn-block" |