Sha256: 13b4bdd7effcfad77dcefc0846a4ae40ec0637d77db8fa2c79256ba3b98566c5

Contents?: true

Size: 860 Bytes

Versions: 10

Compression:

Stored size: 860 Bytes

Contents

<% # main container for facets/limits menu -%>
<%= content_tag :div, id: @id,  class: 'facets sidenav facets-toggleable-md' do %>
  <div class="facets-header">
    <%= content_tag :h2, @title, class: 'facets-heading' if @title %>

    <%= content_tag :button,
      class:'navbar-toggler navbar-toggler-right',
      type: 'button',
      data: {
        toggle: 'collapse',
        target: "##{@panel_id}",
        'bs-toggle': 'collapse',
        'bs-target': "##{@panel_id}"
      },
      aria: {
        controls: @panel_id,
        expanded: 'false',
      } do %>
      <span data-show-label><%= t('blacklight.search.facets.group.open') %></span>
      <span data-hide-label><%= t('blacklight.search.facets.group.close') %></span>
    <% end %>
  </div>

  <div id="<%= @panel_id %>" class="facets-collapse collapse">
    <%= body %>
  </div>
<% end %>

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
blacklight-8.6.1 app/components/blacklight/response/facet_group_component.html.erb
blacklight-8.6.0 app/components/blacklight/response/facet_group_component.html.erb
blacklight-8.5.1 app/components/blacklight/response/facet_group_component.html.erb
blacklight-8.5.0 app/components/blacklight/response/facet_group_component.html.erb
blacklight-8.4.0 app/components/blacklight/response/facet_group_component.html.erb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/blacklight-8.3.0/app/components/blacklight/response/facet_group_component.html.erb
blacklight-8.3.0 app/components/blacklight/response/facet_group_component.html.erb
blacklight-8.2.2 app/components/blacklight/response/facet_group_component.html.erb
blacklight-8.2.1 app/components/blacklight/response/facet_group_component.html.erb
blacklight-8.2.0 app/components/blacklight/response/facet_group_component.html.erb