Sha256: aba88ab3c062340d9e685f45b2fc311f99078561c2b89f62154d7c8b72f5bffd
Contents?: true
Size: 864 Bytes
Versions: 54
Compression:
Stored size: 864 Bytes
Contents
<span class="btn-group applied-filter constraint <%= @classes %>"> <span class="constraint-value btn btn-outline-secondary"> <% if @label.present? %> <span class="filter-name"><%= @label %></span> <% end %> <% if @value.present? %> <%= content_tag :span, @value, class: 'filter-value', title: strip_tags(@value) %> <% end %> </span> <% if @remove_path.present? %> <%= link_to(@remove_path, class: 'btn btn-outline-secondary remove') do %> <span class="remove-icon" aria-hidden="true">✖</span> <span class="sr-only visually-hidden"> <%= if @label.blank? t('blacklight.search.filters.remove.value', value: @value) else t('blacklight.search.filters.remove.label_value', label: @label, value: @value) end %> </span> <% end %> <% end %> </span>
Version data entries
54 entries across 53 versions & 2 rubygems