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.34.0 app/components/blacklight/constraints_component.html.erb
blacklight-8.0.1 app/components/blacklight/constraints_component.html.erb
blacklight-8.0.0 app/components/blacklight/constraints_component.html.erb
blacklight-8.0.0.beta8 app/components/blacklight/constraints_component.html.erb
blacklight-8.0.0.beta7 app/components/blacklight/constraints_component.html.erb
blacklight-8.0.0.beta6 app/components/blacklight/constraints_component.html.erb
blacklight-8.0.0.beta5 app/components/blacklight/constraints_component.html.erb
blacklight-7.33.1 app/components/blacklight/constraints_component.html.erb
blacklight-8.0.0.beta4 app/components/blacklight/constraints_component.html.erb
blacklight-8.0.0.beta3 app/components/blacklight/constraints_component.html.erb
blacklight-8.0.0.beta2 app/components/blacklight/constraints_component.html.erb
blacklight-8.0.0.beta1 app/components/blacklight/constraints_component.html.erb
blacklight-7.33.0 app/components/blacklight/constraints_component.html.erb
blacklight-7.32.0 app/components/blacklight/constraints_component.html.erb
blacklight-7.31.0 app/components/blacklight/constraints_component.html.erb
blacklight-7.30.0 app/components/blacklight/constraints_component.html.erb
blacklight-7.29.0 app/components/blacklight/constraints_component.html.erb
blacklight-7.28.0 app/components/blacklight/constraints_component.html.erb
blacklight-7.27.1 app/components/blacklight/constraints_component.html.erb
blacklight-7.27.0 app/components/blacklight/constraints_component.html.erb