diff options
author | Kushal Pandya <kushal@gitlab.com> | 2016-12-26 16:17:16 +0530 |
---|---|---|
committer | Kushal Pandya <kushal@gitlab.com> | 2016-12-31 11:58:36 +0530 |
commit | fb3e365412954b5d23a048518d70c15894cb9686 (patch) | |
tree | 966c9a9f515f2cd64ef7b00593777675c1c66ff5 /app/views/devise/sessions/_new_ldap.html.haml | |
parent | 8e2a76d2dee86ed05bc5ed144424a33b45f92da7 (diff) | |
download | gitlab-ce-fb3e365412954b5d23a048518d70c15894cb9686.tar.gz |
HAMLLint: Fix `SpaceInsideHashAttributes` offences
Diffstat (limited to 'app/views/devise/sessions/_new_ldap.html.haml')
-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 3ab5461f929..3159d21598a 100644 --- a/app/views/devise/sessions/_new_ldap.html.haml +++ b/app/views/devise/sessions/_new_ldap.html.haml @@ -1,13 +1,13 @@ = form_tag(omniauth_callback_path(:user, server['provider_name']), id: 'new_ldap_user', class: "gl-show-field-errors") do .form-group = label_tag :username, "#{server['label']} Username" - = text_field_tag :username, nil, {class: "form-control top", title: "This field is required.", autofocus: "autofocus", required: true } + = text_field_tag :username, nil, { class: "form-control top", title: "This field is required.", autofocus: "autofocus", required: true } .form-group = label_tag :password = password_field_tag :password, nil, { class: "form-control bottom", title: "This field is required.", required: true } - if devise_mapping.rememberable? .remember-me.checkbox - %label{for: "remember_me"} + %label{ for: "remember_me" } = check_box_tag :remember_me, '1', false, id: 'remember_me' %span Remember me = submit_tag "Sign in", class: "btn-save btn" |