Sha256: 1b5db2d361f9bc077ffd9ed6841dc4172923222578ed54637948631aa3b7490f

Contents?: true

Size: 1.23 KB

Versions: 8

Compression:

Stored size: 1.23 KB

Contents

<%# Filter Pill partial %>

<%= render "refine/inline/filters/popup",
  frame_id: dom_id(criterion) do
%>

  <div class="refine--condition-pill-wrapper">
    <div class="refine--condition-pill">
      <%= link_to refine_inline_criterion_path(criterion.position, criterion.to_params), class: "refine--remove-condition", data: {turbo_method: :delete, controller: "refine--turbo-stream-link", action: "refine--turbo-stream-link#visit"} do %>
        <span class="material-icons-outlined refine--icon-sm">clear</span>
      <% end %>
      <%= link_to edit_refine_inline_criterion_path(criterion.position, criterion.to_params), class:"refine--condition-pill-button", data: {controller: "refine--turbo-stream-link", action: "refine--turbo-stream-link#visit refine--popup#show"} do %>
        <div class="refine--condition-pill-name"><%= criterion.condition_display %></div>
        <div class="refine--condition-value-clause"><%= criterion.clause_display %></div>
        <div class="refine--condition-value-self" title="<%= criterion.human_readable_value %>" data-controller="tooltip" data-tooltip-content-value="<%= criterion.human_readable_value %>">
          <%= criterion.human_readable_value %>
        </div>
      <% end %>
    </div>
  </div>

<% end %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
refine-rails-2.12.0 app/views/refine/inline/filters/_criterion.html.erb
refine-rails-2.11.12 app/views/refine/inline/filters/_criterion.html.erb
refine-rails-2.11.11 app/views/refine/inline/filters/_criterion.html.erb
refine-rails-2.11.10 app/views/refine/inline/filters/_criterion.html.erb
refine-rails-2.11.9 app/views/refine/inline/filters/_criterion.html.erb
refine-rails-2.11.8 app/views/refine/inline/filters/_criterion.html.erb
refine-rails-2.11.6 app/views/refine/inline/filters/_criterion.html.erb
refine-rails-2.11.5 app/views/refine/inline/filters/_criterion.html.erb