Sha256: 89bb97d9423f7346d6cc5d4bcccfad824f391b1d2303f30a6fcdceba48faf8a4

Contents?: true

Size: 932 Bytes

Versions: 25

Compression:

Stored size: 932 Bytes

Contents

<%= turbo_frame_tag dom_id(@criterion, :load), class: "refine--stored-filter-list-popup" do %>
  <div class="refine--stored-filter-list">
    <% if @stored_filters.empty? %>
      <a><%= t('.no_stored_filters') %></a>
    <% end %>


    <% @stored_filters.each do |filter| %>
      <%= form_with(
          model: @criterion,
          url: find_refine_inline_stored_filters_path,
          method: :post,
          class: "refine--stored-filter-search-form",
          data: {
            controller: "refine--submit-form"
          }) do |form| %>
        <!-- Saved filter selector -->
          <%= form.hidden_field :stable_id %>
          <%= form.hidden_field :client_id %>
          <%= hidden_field_tag :id, filter.id %>
          <a href="#" class="refine--stored-filter-list-item" data-action="refine--submit-form#submit">
            <%= filter.name %>
          </a>
        <% end %>
    <% end %>
  </div>
<% end %>

Version data entries

25 entries across 24 versions & 1 rubygems

Version Path
refine-rails-2.13.3 app/views/refine/inline/stored_filters/index.html.erb
refine-rails-2.13.2 app/views/refine/inline/stored_filters/index.html.erb
refine-rails-2.13.1 app/views/refine/inline/stored_filters/index.html.erb
refine-rails-2.13.0 app/views/refine/inline/stored_filters/index.html.erb
refine-rails-2.12.2 app/views/refine/inline/stored_filters/index.html.erb
refine-rails-2.12.1 app/views/refine/inline/stored_filters/index.html.erb
refine-rails-2.12.0 app/views/refine/inline/stored_filters/index.html.erb
refine-rails-2.11.12 app/views/refine/inline/stored_filters/index.html.erb
refine-rails-2.11.11 app/views/refine/inline/stored_filters/index.html.erb
refine-rails-2.11.10 app/views/refine/inline/stored_filters/index.html.erb
refine-rails-2.11.9 app/views/refine/advanced_inline/stored_filters/index.html.erb
refine-rails-2.11.9 app/views/refine/inline/stored_filters/index.html.erb
refine-rails-2.11.8 app/views/refine/inline/stored_filters/index.html.erb
refine-rails-2.11.6 app/views/refine/inline/stored_filters/index.html.erb
refine-rails-2.11.5 app/views/refine/inline/stored_filters/index.html.erb
refine-rails-2.11.4 app/views/refine/inline/stored_filters/index.html.erb
refine-rails-2.11.3 app/views/refine/inline/stored_filters/index.html.erb
refine-rails-2.11.2 app/views/refine/inline/stored_filters/index.html.erb
refine-rails-2.11.1 app/views/refine/inline/stored_filters/index.html.erb
refine-rails-2.11.0 app/views/refine/inline/stored_filters/index.html.erb