summaryrefslogtreecommitdiff
path: root/app/views/devise/shared/_tabs_ldap.html.haml
diff options
context:
space:
mode:
authorBryce Johnson <bryce@gitlab.com>2016-10-17 17:45:27 +0200
committerBryce Johnson <bryce@gitlab.com>2016-10-18 11:12:41 +0200
commita185c32bef3305371e02df0044c17ac00d9cb4f2 (patch)
treea68ee6b41d7451993375e4f114567db1efd3a228 /app/views/devise/shared/_tabs_ldap.html.haml
parent4477d68bfb5a16046687062a874155ca2038079e (diff)
downloadgitlab-ce-a185c32bef3305371e02df0044c17ac00d9cb4f2.tar.gz
Fix tab refs in ldap tabs.
Diffstat (limited to 'app/views/devise/shared/_tabs_ldap.html.haml')
-rw-r--r--app/views/devise/shared/_tabs_ldap.html.haml6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/devise/shared/_tabs_ldap.html.haml b/app/views/devise/shared/_tabs_ldap.html.haml
index e276e91433a..239170d5b16 100644
--- a/app/views/devise/shared/_tabs_ldap.html.haml
+++ b/app/views/devise/shared/_tabs_ldap.html.haml
@@ -1,10 +1,10 @@
%ul.new-session-tabs.nav-links.nav-tabs
- if crowd_enabled?
%li.active
- = link_to "Crowd", "#tab-crowd", 'data-toggle' => 'tab'
+ = link_to "Crowd", "#crowd", 'data-toggle' => 'tab'
- @ldap_servers.each_with_index do |server, i|
%li{class: (:active if i.zero? && !crowd_enabled?)}
- = link_to server['label'], "#tab-#{server['provider_name']}", 'data-toggle' => 'tab'
+ = link_to server['label'], "#{server['provider_name']}", 'data-toggle' => 'tab'
- if signin_enabled?
%li
- = link_to 'Standard', '#tab-signin', 'data-toggle' => 'tab'
+ = link_to 'Standard', '#ldap-standard', 'data-toggle' => 'tab'