Sha256: b63b975de6176e230d75e1e82bdc3b7cfb7cb54acbda8d0d65c304bb59bf8530

Contents?: true

Size: 898 Bytes

Versions: 49

Compression:

Stored size: 898 Bytes

Contents

<%= content_tag @tag || :div, id: @id, class: @classes do %>
  <% if @render_headers %>
    <h2 class="sr-only visually-hidden"><%= t('blacklight.search.search_constraints_header') %></h2>
  <% end %>

  <%= render @start_over_component.new if @start_over_component %>

  <% if @render_headers %>
    <span class="constraints-label sr-only visually-hidden"><%= t('blacklight.search.filters.title') %></span>
  <% end %>
  <% if query_constraints_area.present? %>
    <% query_constraints_area.each do |constraint| %>
      <%= constraint %>
    <% end %>
  <% else %>
    <%= query_constraints %>
  <% end %>

  <% if facet_constraints_area.present? %>
    <% facet_constraints_area.each do |constraint| %>
      <%= constraint %>
    <% end %>
  <% else %>
    <%= facet_constraints %>
  <% end %>

  <% additional_constraints.each do |constraints| %>
    <%= constraints %>
  <% end %>
<% end %>

Version data entries

49 entries across 48 versions & 2 rubygems

Version Path
blacklight-7.26.1 app/components/blacklight/constraints_component.html.erb
blacklight-7.26.0 app/components/blacklight/constraints_component.html.erb
blacklight-7.25.3 app/components/blacklight/constraints_component.html.erb
blacklight-7.25.2 app/components/blacklight/constraints_component.html.erb
blacklight-7.25.1 app/components/blacklight/constraints_component.html.erb
blacklight-7.25.0 app/components/blacklight/constraints_component.html.erb
blacklight-7.24.0 app/components/blacklight/constraints_component.html.erb
blacklight-7.23.0.1 app/components/blacklight/constraints_component.html.erb
blacklight-7.23.0 app/components/blacklight/constraints_component.html.erb