Sha256: 8a6112aafeedb93d12d4f0bf72f5f46a3757aabdbaf5f5c2c6b2bc5b4f614c85
Contents?: true
Size: 993 Bytes
Versions: 11
Compression:
Stored size: 993 Bytes
Contents
<%# headmin/filters/filter/button accepts block: yes parameters: name: (string) Name of the parameter value: (string) Value of the parameter %> <% button_view = Headmin::Filter::ButtonView.new(local_assigns) %> <div class="h-filter me-1 my-1" data-controller="filter" data-filter-name="<%= button_view.name %>" data-filter-name-value="<%= button_view.name %>"> <button type="button" class="h-filter-button btn h-btn-outline-transparent" data-filter-target="button" data-popup-target="button" data-popup-id="<%= button_view.id %>" data-action="click->popup#open" > <%= raw("#{button_view.label} #{button_view.filter&.string(display_values: button_view.display_values)}") %> <span class="h-filter-remove" data-action="click->filters#remove"> <%= bootstrap_icon("x-lg") %> </span> </button> <%= render "headmin/popup", id: "#{button_view.id}", data: {"filter-target": "popup"} do %> <%= yield %> <% end %> </div>
Version data entries
11 entries across 11 versions & 1 rubygems