2018-04-19 15:16:27 -04:00
|
|
|
%ul.nav-links.new-session-tabs.nav-tabs.nav{ class: ('custom-provider-tabs' if form_based_providers.any?) }
|
2016-09-09 08:21:00 -04:00
|
|
|
- if crowd_enabled?
|
2018-05-24 22:32:40 -04:00
|
|
|
%li.nav-item
|
|
|
|
= link_to "Crowd", "#crowd", class: 'nav-link active', 'data-toggle' => 'tab'
|
2016-09-09 08:21:00 -04:00
|
|
|
- @ldap_servers.each_with_index do |server, i|
|
2018-05-24 22:32:40 -04:00
|
|
|
%li.nav-item{ class: active_when(i.zero? && !crowd_enabled?) }
|
|
|
|
= link_to server['label'], "##{server['provider_name']}", class: 'nav-link', 'data-toggle' => 'tab'
|
2017-11-23 08:16:14 -05:00
|
|
|
- if password_authentication_enabled_for_web?
|
2018-05-24 22:32:40 -04:00
|
|
|
%li.nav-item
|
|
|
|
= link_to 'Standard', '#login-pane', class: 'nav-link', 'data-toggle' => 'tab'
|
2017-11-23 08:16:14 -05:00
|
|
|
- if allow_signup?
|
2018-05-24 22:32:40 -04:00
|
|
|
%li.nav-item
|
|
|
|
= link_to 'Register', '#register-pane', class: 'nav-link', 'data-toggle' => 'tab'
|