Sha256: fd165ef33b4ddd42a3eb4343c563379d58162810d6d299d77eb1a826fe2e2b86

Contents?: true

Size: 800 Bytes

Versions: 5

Compression:

Stored size: 800 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 class="navbar-toggler-icon"></span>
    <% end %>
  </div>

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
blacklight-8.0.0.beta5 app/components/blacklight/response/facet_group_component.html.erb
blacklight-8.0.0.beta4 app/components/blacklight/response/facet_group_component.html.erb
blacklight-8.0.0.beta3 app/components/blacklight/response/facet_group_component.html.erb
blacklight-8.0.0.beta2 app/components/blacklight/response/facet_group_component.html.erb
blacklight-8.0.0.beta1 app/components/blacklight/response/facet_group_component.html.erb