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.beta21 app/views/avo/base/_multiple_select_filter.html.erb
avo-3.0.1.beta17 app/views/avo/base/_multiple_select_filter.html.erb
avo-3.0.1.beta22 app/views/avo/base/_multiple_select_filter.html.erb
avo-3.0.1.beta18 app/views/avo/base/_multiple_select_filter.html.erb
avo-3.0.1.beta19 app/views/avo/base/_multiple_select_filter.html.erb
avo-3.0.1.beta24 app/views/avo/base/_multiple_select_filter.html.erb
avo-3.0.1.beta15 app/views/avo/base/_multiple_select_filter.html.erb
avo-3.0.1.beta16 app/views/avo/base/_multiple_select_filter.html.erb
avo-3.0.1.beta14 app/views/avo/base/_multiple_select_filter.html.erb
avo-3.0.1.beta12 app/views/avo/base/_multiple_select_filter.html.erb
avo-3.0.1.beta13 app/views/avo/base/_multiple_select_filter.html.erb
avo-3.0.1.beta10 app/views/avo/base/_multiple_select_filter.html.erb
avo-3.0.1.beta11 app/views/avo/base/_multiple_select_filter.html.erb
avo-3.0.0.pre19 app/views/avo/base/_multiple_select_filter.html.erb
avo-3.0.1.beta8 app/views/avo/base/_multiple_select_filter.html.erb
avo-3.0.1.beta9 app/views/avo/base/_multiple_select_filter.html.erb
avo-3.0.1.beta6 app/views/avo/base/_multiple_select_filter.html.erb
avo-3.0.1.beta7 app/views/avo/base/_multiple_select_filter.html.erb
avo-3.0.1.beta5 app/views/avo/base/_multiple_select_filter.html.erb
avo-3.0.1.beta2 app/views/avo/base/_multiple_select_filter.html.erb