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
|
2018-11-12 16:40:42 -05:00
|
|
|
= link_to "Crowd", "#crowd", class: "nav-link #{active_when(form_based_auth_provider_has_active_class?(:crowd))}", 'data-toggle' => 'tab'
|
2019-05-10 17:07:00 -04:00
|
|
|
= render_if_exists "devise/shared/kerberos_tab"
|
2016-09-09 08:21:00 -04:00
|
|
|
- @ldap_servers.each_with_index do |server, i|
|
2018-06-21 11:53:32 -04:00
|
|
|
%li.nav-item
|
2019-07-18 07:57:26 -04:00
|
|
|
= link_to server['label'], "##{server['provider_name']}", class: "nav-link #{active_when(i.zero? && form_based_auth_provider_has_active_class?(:ldapmain))}", data: { toggle: 'tab', qa_selector: 'ldap_tab' }
|
2018-11-12 16:40:42 -05:00
|
|
|
|
|
|
|
= render_if_exists 'devise/shared/tab_smartcard'
|
|
|
|
|
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
|
2019-07-18 07:57:26 -04:00
|
|
|
= link_to 'Standard', '#login-pane', class: 'nav-link', data: { toggle: 'tab', qa_selector: 'standard_tab' }
|
2017-11-23 08:16:14 -05:00
|
|
|
- if allow_signup?
|
2018-05-24 22:32:40 -04:00
|
|
|
%li.nav-item
|
2019-07-18 07:57:26 -04:00
|
|
|
= link_to 'Register', '#register-pane', class: 'nav-link', data: { toggle: 'tab', qa_selector: 'register_tab' }
|