Sha256: 4e5242bb619fefddf9ac7b633ff429ad029466d8498fee3ed98b7cbb873825bb
Contents?: true
Size: 784 Bytes
Versions: 30
Compression:
Stored size: 784 Bytes
Contents
<% is_disabled = @refine_filter_builder.refine_filter.criteria_limit_reached? criteria_limit = @refine_filter_builder.refine_filter.criteria_limit %> <%= tag.div( class: "refine-add-container", data: {controller: 'refine--add'}) do %> <%= tag.div( class: class_names( "refine-add-group" => true, "refine-add-disabled" => is_disabled ), data: {action: ("click->refine--add#group" unless is_disabled)}, title: (t("refine.inline.filters.criteria_limit", criteria_limit: criteria_limit) if is_disabled) ) do %> <% if @refine_filter_query.grouped_criteria.any? %> <%= t("refine.refine_blueprints.add_group.add_or") %> <% else %> <%= t("refine.refine_blueprints.add_group.create_filter") %> <% end %> <% end %> <% end %>
Version data entries
30 entries across 30 versions & 1 rubygems