Sha256: 8a2d4fafce07feaf04f9b3e75b1fcad39b941dc60f1f97e97cc867576ab7bf48

Contents?: true

Size: 1.07 KB

Versions: 2

Compression:

Stored size: 1.07 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 criterion.condition_display, edit_refine_inline_criterion_path(criterion.position, criterion.to_params), class: "refine--condition-pill-name", data: {controller: "refine--turbo-stream-link", action: "refine--turbo-stream-link#visit"} %>
      <div class="refine--remove-condition"></div>
      <%= 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 %>
      <% end %>
      <div class="refine--condition-value-wrapper">
         <div class="refine--condition-value-clause"><%= criterion.clause_display %></div>
         <div class="refine--condition-value-self">
            <div><%= criterion.human_readable_value.truncate(64) %></div>
         </div>
      </div>
    </div>

  </div>

<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
refine-rails-2.9.1 app/views/refine/inline/filters/_criterion.html.erb
refine-rails-2.9.0 app/views/refine/inline/filters/_criterion.html.erb