2016-11-03 12:29:30 +05:30
|
|
|
%ul.new-session-tabs.nav-links.nav-tabs{ class: ('custom-provider-tabs' if form_based_providers.any?) }
|
|
|
|
- if crowd_enabled?
|
|
|
|
%li.active
|
|
|
|
= link_to "Crowd", "#crowd", 'data-toggle' => 'tab'
|
|
|
|
- @ldap_servers.each_with_index do |server, i|
|
2017-08-17 22:00:37 +05:30
|
|
|
%li{ class: active_when(i.zero? && !crowd_enabled?) }
|
2016-11-03 12:29:30 +05:30
|
|
|
= link_to server['label'], "##{server['provider_name']}", 'data-toggle' => 'tab'
|
2017-09-10 17:25:29 +05:30
|
|
|
- if password_authentication_enabled?
|
2016-11-03 12:29:30 +05:30
|
|
|
%li
|
|
|
|
= link_to 'Standard', '#ldap-standard', 'data-toggle' => 'tab'
|
2017-09-10 17:25:29 +05:30
|
|
|
- if password_authentication_enabled? && signup_enabled?
|
2016-11-24 13:41:30 +05:30
|
|
|
%li
|
|
|
|
= link_to 'Register', '#register-pane', 'data-toggle' => 'tab'
|