diff options
author | Bryce Johnson <bryce@gitlab.com> | 2016-10-17 18:45:27 +0300 |
---|---|---|
committer | Bryce Johnson <bryce@gitlab.com> | 2016-10-18 12:12:41 +0300 |
commit | a185c32bef3305371e02df0044c17ac00d9cb4f2 (patch) | |
tree | a68ee6b41d7451993375e4f114567db1efd3a228 /app/views/devise | |
parent | 4477d68bfb5a16046687062a874155ca2038079e (diff) |
Fix tab refs in ldap tabs.
Diffstat (limited to 'app/views/devise')
-rw-r--r-- | app/views/devise/shared/_tabs_ldap.html.haml | 6 |
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' |