2016-10-17 15:44:43 +00:00
|
|
|
- if form_based_providers.any?
|
|
|
|
- if crowd_enabled?
|
|
|
|
.login-box.tab-pane.active{id: "crowd", role: 'tabpanel', class: 'tab-pane'}
|
|
|
|
.login-body
|
|
|
|
= render 'devise/sessions/new_crowd'
|
|
|
|
- @ldap_servers.each_with_index do |server, i|
|
|
|
|
.login-box.tab-pane{id: "#{server['provider_name']}", role: 'tabpanel', class: (:active if i.zero? && !crowd_enabled?)}
|
|
|
|
.login-body
|
|
|
|
= render 'devise/sessions/new_ldap', server: server
|
|
|
|
- if signin_enabled?
|
|
|
|
.login-box.tab-pane{id: 'ldap-standard', role: 'tabpanel'}
|
|
|
|
.login-body
|
|
|
|
= render 'devise/sessions/new_base'
|
2015-01-08 01:07:36 +00:00
|
|
|
|
2016-10-17 15:44:43 +00:00
|
|
|
- elsif signin_enabled?
|
|
|
|
= render 'devise/sessions/new_base'
|