Sha256: 37a5bc4b14cd161aa7e6438c0e82e71a54e5027af2b06693ea7d7df9f753a2ec

Contents?: true

Size: 1.27 KB

Versions: 23

Compression:

Stored size: 1.27 KB

Contents

<div class='container login-box'>
  <h4><%= t '.title' %></h4>
  <div class='card'>
    <div class='card-header'>
      <% if ldap_enabled? %>
      <ul class='nav nav-tabs card-header-tabs' role='tablist'>
        <li class='nav-item'>
          <%= link_to 'LDAP', '#tab-ldap', class: 'nav-link active', id: 'ldap-tab',
            data: {toggle: 'tab'}, aria: {controls: 'ldap', selected: true} %>
        </li>
        <li class='nav-item'>
          <%= link_to 'Standard', '#tab-local', class: 'nav-link', id: 'local-tab',
            data: {toggle: 'tab'}, aria: {controls: 'local', selected: false} %>
        </li>
      </ul>
    </div>
    <div class='tab-content'>
      <div id='tab-ldap' class='tab-pane show active' role='tabpanel' aria-labelledby='ldap-tab'>
        <div class='card-body'>
          <%= render partial: 'devise/sessions/new_ldap' %>
        </div>
      </div>
      <div id='tab-local' class='tab-pane' role='tabpanel' aria-labelledby='local-tab'>
        <div class='card-body'>
          <%= render partial: 'devise/sessions/new_local' %>
        </div>
      </div>
    </div>
    <% else %>
    </div>
    <!-- LDAP not enabled -->
    <div class='card-body'>
      <%= render partial: 'devise/sessions/new_local' %>
    </div>
    <% end %>
  </div>
</div>

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
chaltron-2.0.3 app/views/devise/sessions/new.html.erb
chaltron-2.0.2 app/views/devise/sessions/new.html.erb
chaltron-2.0.1 app/views/devise/sessions/new.html.erb
chaltron-2.0.0 app/views/devise/sessions/new.html.erb
chaltron-1.1.7 app/views/devise/sessions/new.html.erb
chaltron-1.1.6 app/views/devise/sessions/new.html.erb
chaltron-1.1.5 app/views/devise/sessions/new.html.erb
chaltron-1.1.4 app/views/devise/sessions/new.html.erb
chaltron-1.1.3 app/views/devise/sessions/new.html.erb
chaltron-1.1.2 app/views/devise/sessions/new.html.erb
chaltron-1.1.1 app/views/devise/sessions/new.html.erb
chaltron-1.1.0 app/views/devise/sessions/new.html.erb
chaltron-1.0.10 app/views/devise/sessions/new.html.erb
chaltron-1.0.9 app/views/devise/sessions/new.html.erb
chaltron-1.0.8 app/views/devise/sessions/new.html.erb
chaltron-1.0.7 app/views/devise/sessions/new.html.erb
chaltron-1.0.6 app/views/devise/sessions/new.html.erb
chaltron-1.0.5 app/views/devise/sessions/new.html.erb
chaltron-1.0.4 app/views/devise/sessions/new.html.erb
chaltron-1.0.3 app/views/devise/sessions/new.html.erb