Sha256: 26976103cf7312186a00279312d9b2e6647401e0c813f8337ff6f93d9bc89cf4

Contents?: true

Size: 466 Bytes

Versions: 1

Compression:

Stored size: 466 Bytes

Contents

<div class="list-group">
  <%= link_to resources_path(madmin_resource.slug), class: "list-group-item py-2 list-group-item-action #{'active' if params[:scope].blank?}" do %>
    All
  <% end %>
  <% scopes.each do |scope| %>
    <%= link_to resources_path(madmin_resource.slug, scope: scope.to_s), class: "list-group-item py-2 list-group-item-action #{'active' if params[:scope] == scope.to_s}" do %>
      <%= scope.to_s.titleize %>
    <% end %>
  <% end %>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
madmin-0.1.0 app/views/madmin/resources/_scopes.html.erb