Sha256: f5e66c5b8871afbfa1ced4b79949e97d05790fd78113c11ffc36154fcaeb1789

Contents?: true

Size: 506 Bytes

Versions: 1

Compression:

Stored size: 506 Bytes

Contents

<%#
# Sidebar

This partial is used to display the sidebar in Administrate.
By default, the sidebar contains navigation links
for all resources in the admin dashboard,
as defined by the DashboardManifest.
%>

<ul class="sidebar__list">
  <% DashboardManifest::DASHBOARDS.each do |resource| %>
    <li>
      <%= link_to(
        display_resource_name(resource),
        [namespace, resource],
        class: "sidebar__link sidebar__link--#{nav_link_state(resource)}"
      ) %>
    </li>
  <% end %>
</ul>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
administrate-0.1.3 app/views/administrate/application/_sidebar.html.erb