Sha256: 01d4036df601556365b318066d7604471397314791c6c1aa88f2eeaf66a2780b
Contents?: true
Size: 829 Bytes
Versions: 12
Compression:
Stored size: 829 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">✖</span> <span class="sr-only"> <%= 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
12 entries across 12 versions & 1 rubygems