Sha256: fe41410dde1701ccc8004ec17b61da35c1d6092498a8866426af824ea137e275

Contents?: true

Size: 919 Bytes

Versions: 6

Compression:

Stored size: 919 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',
        label: t('blacklight.search.facets.group.toggle'),
      } 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

6 entries across 6 versions & 1 rubygems

Version Path
blacklight-8.1.0 app/components/blacklight/response/facet_group_component.html.erb
blacklight-8.0.1 app/components/blacklight/response/facet_group_component.html.erb
blacklight-8.0.0 app/components/blacklight/response/facet_group_component.html.erb
blacklight-8.0.0.beta8 app/components/blacklight/response/facet_group_component.html.erb
blacklight-8.0.0.beta7 app/components/blacklight/response/facet_group_component.html.erb
blacklight-8.0.0.beta6 app/components/blacklight/response/facet_group_component.html.erb