Sha256: 45a4cd3fa4cc310705eecfa1367fdb647d27da27e2f372da9ed0f68c0c75dd80

Contents?: true

Size: 1.02 KB

Versions: 35

Compression:

Stored size: 1.02 KB

Contents

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

Version data entries

35 entries across 35 versions & 1 rubygems

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