Sha256: b32d1ea8b621c604d992e367adf44ee92932a08271846df251d78140647daba7

Contents?: true

Size: 1001 Bytes

Versions: 62

Compression:

Stored size: 1001 Bytes

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: :blue, size: :xs, data: { action: "multiple-select-filter#changeFilter" } do %>
        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

62 entries across 62 versions & 1 rubygems

Version Path
avo-2.14.3.pre.7.polytranslations1 app/views/avo/base/_multiple_select_filter.html.erb
avo-2.14.3.pre.6.nosprockets app/views/avo/base/_multiple_select_filter.html.erb
avo-2.14.3.pre.5.nosprockets app/views/avo/base/_multiple_select_filter.html.erb
avo-2.14.3.pre.4.tosqlfix app/views/avo/base/_multiple_select_filter.html.erb
avo-2.14.3.pre.3.jsbundling app/views/avo/base/_multiple_select_filter.html.erb
avo-2.14.3.pre.2.tailwindcss app/views/avo/base/_multiple_select_filter.html.erb
avo-2.14.2 app/views/avo/base/_multiple_select_filter.html.erb
avo-2.14.2.pre.1 app/views/avo/base/_multiple_select_filter.html.erb
avo-2.14.1 app/views/avo/base/_multiple_select_filter.html.erb
avo-2.14.1.pre.1 app/views/avo/base/_multiple_select_filter.html.erb
avo-2.14.0 app/views/avo/base/_multiple_select_filter.html.erb
avo-2.13.6.pre.2 app/views/avo/base/_multiple_select_filter.html.erb
avo-2.13.6.pre.1 app/views/avo/base/_multiple_select_filter.html.erb
avo-2.13.5.pre.2 app/views/avo/base/_multiple_select_filter.html.erb
avo-2.13.5.pre.1 app/views/avo/base/_multiple_select_filter.html.erb
avo-2.13.4.pre.1 app/views/avo/base/_multiple_select_filter.html.erb
avo-2.13.3.pre.4 app/views/avo/base/_multiple_select_filter.html.erb
avo-2.13.3.pre.3 app/views/avo/base/_multiple_select_filter.html.erb
avo-2.13.3.pre.2 app/views/avo/base/_multiple_select_filter.html.erb
avo-2.13.3.pre.1 app/views/avo/base/_multiple_select_filter.html.erb