Sha256: 01549a6081e977a4244fc2bd314d780523a56614c37b77fc9ad90c6823132ded

Contents?: true

Size: 1.02 KB

Versions: 16

Compression:

Stored size: 1.02 KB

Contents

<div
  data-controller="multiple-select-filter"
  data-filter-name="<%= filter.name %>"
  data-multiple-select-filter-keep-filters-panel-open-value="<%= @resource.keep_filters_panel_open %>"
>
  <%= filter_wrapper name: filter.name do %>
    <%= select_tag filter.id, options_for_select(filter.options.invert, filter.selected_value(@applied_filters)),
      class: input_classes('w-full mb-0'),
      multiple: true,
      id: "avo_filters_#{filter.id.parameterize.underscore}",
      'data-filter-class': filter.class.to_s,
      'data-multiple-select-filter-target': 'selector'
    %>
    <div class="flex justify-end">
      <%= a_button class: 'mt-4', color: :primary, size: :xs, data: { action: "multiple-select-filter#changeFilter" } do %>
        <%= filter.button_label || "#{t("avo.filter_by")} #{filter.name}" %>
      <% end %>
    </div>
    <%= link_to 'url_redirect', request.url, data: { 'multiple-select-filter-target': 'urlRedirect', 'turbo-frame': params[:turbo_frame] }, style: 'hidden', class: 'hidden' %>
  <% end %>
</div>

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
avo-3.14.3 app/views/avo/base/_multiple_select_filter.html.erb
avo-3.14.2 app/views/avo/base/_multiple_select_filter.html.erb
avo-3.14.1 app/views/avo/base/_multiple_select_filter.html.erb
avo-3.14.0 app/views/avo/base/_multiple_select_filter.html.erb
avo-3.13.7 app/views/avo/base/_multiple_select_filter.html.erb
avo-3.13.6 app/views/avo/base/_multiple_select_filter.html.erb
avo-3.13.5 app/views/avo/base/_multiple_select_filter.html.erb
avo-3.13.4 app/views/avo/base/_multiple_select_filter.html.erb
avo-3.13.3 app/views/avo/base/_multiple_select_filter.html.erb
avo-3.13.2 app/views/avo/base/_multiple_select_filter.html.erb
avo-3.13.1 app/views/avo/base/_multiple_select_filter.html.erb
avo-3.13.0 app/views/avo/base/_multiple_select_filter.html.erb
avo-3.12.0 app/views/avo/base/_multiple_select_filter.html.erb
avo-3.11.10 app/views/avo/base/_multiple_select_filter.html.erb
avo-3.11.9 app/views/avo/base/_multiple_select_filter.html.erb
avo-3.11.8 app/views/avo/base/_multiple_select_filter.html.erb