diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-03-13 15:42:31 +0100 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-03-13 15:42:31 +0100 |
commit | 09791774a594972d410fa72f5e0a256f19f0915a (patch) | |
tree | b1f8d9e591e95d2a3969b6e6be69ec1a510bc4af /app/views/devise/sessions/_new_ldap.html.haml | |
parent | 606d24ff2df157ec70003132d1ead7a47dc32883 (diff) | |
download | gitlab-ce-09791774a594972d410fa72f5e0a256f19f0915a.tar.gz |
Use custom LDAP label in LDAP signin form.
Diffstat (limited to 'app/views/devise/sessions/_new_ldap.html.haml')
-rw-r--r-- | app/views/devise/sessions/_new_ldap.html.haml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/devise/sessions/_new_ldap.html.haml b/app/views/devise/sessions/_new_ldap.html.haml index e986989a728..812e22373a7 100644 --- a/app/views/devise/sessions/_new_ldap.html.haml +++ b/app/views/devise/sessions/_new_ldap.html.haml @@ -1,4 +1,4 @@ -= form_tag(user_omniauth_callback_path(provider), id: 'new_ldap_user' ) do - = text_field_tag :username, nil, {class: "form-control top", placeholder: "LDAP Login", autofocus: "autofocus"} += form_tag(user_omniauth_callback_path(server['provider_name']), id: 'new_ldap_user' ) do + = text_field_tag :username, nil, {class: "form-control top", placeholder: "#{server['label']} Login", autofocus: "autofocus"} = password_field_tag :password, nil, {class: "form-control bottom", placeholder: "Password"} - = button_tag "LDAP Sign in", class: "btn-save btn" + = button_tag "#{server['label']} Sign in", class: "btn-save btn" |