Sha256: fd7f1841fe3c777551d0d375159c3a46c2d586f93911fa61de6515f90aeb330d

Contents?: true

Size: 1022 Bytes

Versions: 196

Compression:

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

196 entries across 196 versions & 1 rubygems

Version Path
avo-3.0.1.beta4 app/views/avo/base/_multiple_select_filter.html.erb
avo-3.0.1.beta3 app/views/avo/base/_multiple_select_filter.html.erb
avo-3.0.0.beta1 app/views/avo/base/_multiple_select_filter.html.erb
avo-3.0.1.beta1 app/views/avo/base/_multiple_select_filter.html.erb
avo-3.0.0.pre17 app/views/avo/base/_multiple_select_filter.html.erb
avo-3.0.0.pre18 app/views/avo/base/_multiple_select_filter.html.erb
avo-3.0.0.pre14 app/views/avo/base/_multiple_select_filter.html.erb
avo-3.0.0.pre16 app/views/avo/base/_multiple_select_filter.html.erb
avo-3.0.0.pre15 app/views/avo/base/_multiple_select_filter.html.erb
avo-3.0.0.pre13 app/views/avo/base/_multiple_select_filter.html.erb
avo-3.0.0.pre12 app/views/avo/base/_multiple_select_filter.html.erb
avo-3.0.0.pre10 app/views/avo/base/_multiple_select_filter.html.erb
avo-3.0.0.pre11 app/views/avo/base/_multiple_select_filter.html.erb
avo-3.0.0.pre8 app/views/avo/base/_multiple_select_filter.html.erb
avo-3.0.0.pre9 app/views/avo/base/_multiple_select_filter.html.erb
avo-3.0.0.pre7 app/views/avo/base/_multiple_select_filter.html.erb
avo-3.0.0.pre5 app/views/avo/base/_multiple_select_filter.html.erb
avo-3.0.0.pre6 app/views/avo/base/_multiple_select_filter.html.erb
avo-3.0.0.pre4 app/views/avo/base/_multiple_select_filter.html.erb
avo-3.0.0.pre3 app/views/avo/base/_multiple_select_filter.html.erb