2018-11-08 19:23:39 +05:30
|
|
|
%ul.nav-links.new-session-tabs.nav-tabs.nav{ class: ('custom-provider-tabs' if form_based_providers.any?) }
|
2016-11-03 12:29:30 +05:30
|
|
|
- if crowd_enabled?
|
2018-11-08 19:23:39 +05:30
|
|
|
%li.nav-item
|
2019-01-03 12:48:30 +05:30
|
|
|
= link_to "Crowd", "#crowd", class: 'nav-link active', 'data-toggle' => 'tab'
|
2016-11-03 12:29:30 +05:30
|
|
|
- @ldap_servers.each_with_index do |server, i|
|
2018-11-08 19:23:39 +05:30
|
|
|
%li.nav-item
|
2019-01-03 12:48:30 +05:30
|
|
|
= link_to server['label'], "##{server['provider_name']}", class: "nav-link #{active_when(i.zero? && !crowd_enabled?)} qa-ldap-tab", 'data-toggle' => 'tab'
|
2018-03-17 18:26:18 +05:30
|
|
|
- if password_authentication_enabled_for_web?
|
2018-11-08 19:23:39 +05:30
|
|
|
%li.nav-item
|
2018-12-05 23:21:45 +05:30
|
|
|
= link_to 'Standard', '#login-pane', class: 'nav-link qa-standard-tab', 'data-toggle' => 'tab'
|
2018-03-17 18:26:18 +05:30
|
|
|
- if allow_signup?
|
2018-11-08 19:23:39 +05:30
|
|
|
%li.nav-item
|
2018-12-05 23:21:45 +05:30
|
|
|
= link_to 'Register', '#register-pane', class: 'nav-link qa-register-tab', 'data-toggle' => 'tab'
|