Sha256: d2063e80f25171a1fa31e2b08e8ee2b25e85c6c8ba4a64ff3289e95385eb47be
Contents?: true
Size: 1.49 KB
Versions: 2
Compression:
Stored size: 1.49 KB
Contents
<% criterion = Refine::Inline::Criterion.new( stable_id: @refine_filter.to_stable_id, refine_filter: @refine_filter, client_id: @refine_client_id, conjunction: "and", position: position ) use_modal ||= false fill_modal ||= false src = use_modal ? index_advanced_refine_inline_criteria_path(criterion.to_params.merge(fill_modal: fill_modal)) : refine_inline_criteria_path(criterion.to_params) %> <% if @refine_filter.criteria_limit_reached? %> <button disabled class="refine--add-condition-button refine--group-last-item refine--condition-pill-end" type="button" title="<%= t(".criteria_limit", criteria_limit: @refine_filter.criteria_limit) %>"> <% if show_label %> <span class="refine--add-button-label"><%= t("refine.inline.filters.and_button.condition") %></span> <% end %> <span class="icon material-icons-outlined refine--icon-sm">add</span> </button> <% else %> <%= render "refine/inline/filters/modal_or_popup", frame_id: dom_id(criterion), use_modal: use_modal, fill_modal: fill_modal, src: src do %> <button class="refine--add-condition-button refine--group-last-item refine--condition-pill-end" type="button" data-action="click->refine--popup#show click->refine--modal#open"> <% if show_label %> <span class="refine--add-button-label"><%= t("refine.inline.filters.and_button.condition") %></span> <% end %> <span class="icon material-icons-outlined refine--icon-sm">add</span> </button> <% end %> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
refine-rails-2.11.8 | app/views/refine/inline/filters/_and_button.html.erb |
refine-rails-2.11.6 | app/views/refine/inline/filters/_and_button.html.erb |