Sha256: 44e37c6d5528483e077b4207ea874ec74b4f1ef52a8fb64e056844e12d8504d0

Contents?: true

Size: 416 Bytes

Versions: 14

Compression:

Stored size: 416 Bytes

Contents

<%#
    headmin/filters/filter/menu_item
    accepts block: no
    parameters:
      name: (string) Name of the parameter
      label: (string) Display name
%>

<% menu_item = Headmin::Filter::MenuItemView.new(local_assigns) %>

<li>
  <a class="dropdown-item" href="#" data-filters-target="menuItem" data-action="click->filters#add" data-filter-name="<%= menu_item.name %>">
    <%= menu_item.label %>
  </a>
</li>

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
headmin-0.6.3 app/views/headmin/filters/filter/_menu_item.html.erb
headmin-0.6.2 app/views/headmin/filters/filter/_menu_item.html.erb
headmin-0.6.1 app/views/headmin/filters/filter/_menu_item.html.erb
headmin-0.6.0 app/views/headmin/filters/filter/_menu_item.html.erb
headmin-0.5.9 app/views/headmin/filters/filter/_menu_item.html.erb
headmin-0.5.8 app/views/headmin/filters/filter/_menu_item.html.erb
headmin-0.5.7 app/views/headmin/filters/filter/_menu_item.html.erb
headmin-0.5.6 app/views/headmin/filters/filter/_menu_item.html.erb
headmin-0.5.5 app/views/headmin/filters/filter/_menu_item.html.erb
headmin-0.5.4 app/views/headmin/filters/filter/_menu_item.html.erb
headmin-0.5.3 app/views/headmin/filters/filter/_menu_item.html.erb
headmin-0.5.2 app/views/headmin/filters/filter/_menu_item.html.erb
headmin-0.5.1 app/views/headmin/filters/filter/_menu_item.html.erb
headmin-0.5.0 app/views/headmin/filters/filter/_menu_item.html.erb