Sha256: a5bdb99f4559864d244ded181c2659f9977fddbee51c1f7ed75eac6579487ddb

Contents?: true

Size: 853 Bytes

Versions: 7

Compression:

Stored size: 853 Bytes

Contents

<!-- Sidebar Nav Start -->
<nav class="d-flex flex-column flex-shrink-0 p-3 text-white bg-dark" style="overflow-y: auto;">
  <%= link_to root_path, class: 'd-flex align-items-center mb-3 mb-md-0 me-md-auto text-white text-decoration-none' do %>
    <span class="fs-4">Eventsimple</span>
  <% end %>
  <hr>
  <ul class="nav nav-pills flex-column mb-auto">
    <% event_class_names.each do |klass| %>
      <% is_active = klass === @model_name ? 'active text-white' : 'text-white' %>
      <li class="nav-item text-white overflow-hidden" style="width: 100%;">
        <%= link_to model_path(klass), class: "nav-link #{is_active}", style: "overflow: hidden; white-space: nowrap; text-overflow: ellipsis;" do %>
          <i class="bi bi-table"></i>
          <%= klass %>
        <% end %>
      </li>
    <% end %>
  </ul>
</nav>
<!-- Sidebar Nav End -->

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
eventsimple-1.5.6 app/views/eventsimple/shared/_sidebar.html.erb
eventsimple-1.5.5 app/views/eventsimple/shared/_sidebar.html.erb
eventsimple-1.5.4 app/views/eventsimple/shared/_sidebar.html.erb
eventsimple-1.5.3 app/views/eventsimple/shared/_sidebar.html.erb
eventsimple-1.4.3 app/views/eventsimple/shared/_sidebar.html.erb
eventsimple-1.4.2 app/views/eventsimple/shared/_sidebar.html.erb
eventsimple-1.4.1 app/views/eventsimple/shared/_sidebar.html.erb