BigW Consortium Gitlab

_tabs_ldap.html.haml 611 Bytes
Newer Older
1
%ul.new-session-tabs.nav-links.nav-tabs{ class: ('custom-provider-tabs' if form_based_providers.any?) }
2 3
  - if crowd_enabled?
    %li.active
4
      = link_to "Crowd", "#crowd", 'data-toggle' => 'tab'
5 6
  - @ldap_servers.each_with_index do |server, i|
    %li{class: (:active if i.zero? && !crowd_enabled?)}
7
      = link_to server['label'], "##{server['provider_name']}",  'data-toggle' => 'tab'
8 9
  - if signin_enabled?
    %li
10
      = link_to 'Standard', '#ldap-standard', 'data-toggle' => 'tab'
11 12 13
  - if signin_enabled? && signup_enabled?
    %li
      = link_to 'Register', '#register-pane', 'data-toggle' => 'tab'