Sha256: 08b93b2ca6aeeff94b5ecb85c70b36c6b07eb8842ad82b8a92215852b29b940a

Contents?: true

Size: 428 Bytes

Versions: 3

Compression:

Stored size: 428 Bytes

Contents

<% Madmin.resources.each do |resource| %>
  <%= nav_link_to resource.friendly_name.pluralize, resource.index_path, class: "block p-2 rounded hover:bg-gray-100", starts_with: resource.index_path, active_class: "font-bold text-black" %>
<% end %>

<div class="mt-auto">
  <%= link_to "View Madmin on GitHub", "https://github.com/excid3/madmin", target: :_blank, class: "block p-2 rounded text-gray-500 hover:bg-gray-100" %>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
madmin-1.2.11 app/views/madmin/application/_menu_resources.html.erb
madmin-1.2.10 app/views/madmin/application/_menu_resources.html.erb
madmin-1.2.9 app/views/madmin/application/_menu_resources.html.erb