Sha256: c41fb4d1e1ed2c81f8a454b2d843d8f36f24dc5ccbd5c05bb55554822d8183cc

Contents?: true

Size: 646 Bytes

Versions: 7

Compression:

Stored size: 646 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 %>
      <%= render Blacklight::Icons::RemoveComponent.new %>
      <span class="sr-only visually-hidden"><%= remove_aria_label %></span>
    <% end %>
  <% end %>
</span>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
blacklight-8.8.0 app/components/blacklight/constraint_layout_component.html.erb
blacklight-8.7.0 app/components/blacklight/constraint_layout_component.html.erb
blacklight-8.6.1 app/components/blacklight/constraint_layout_component.html.erb
blacklight-8.6.0 app/components/blacklight/constraint_layout_component.html.erb
blacklight-8.5.1 app/components/blacklight/constraint_layout_component.html.erb
blacklight-8.5.0 app/components/blacklight/constraint_layout_component.html.erb
blacklight-8.4.0 app/components/blacklight/constraint_layout_component.html.erb