Sha256: ed30f8a8f0272f920a1c1a9b70dc576c60b29deb964c2a1e1f2b0852dff31679

Contents?: true

Size: 956 Bytes

Versions: 2

Compression:

Stored size: 956 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>

  <%= content_tag :div, id: @panel_id, class: 'facets-collapse collapse' do %>
    <% Deprecation.silence(Blacklight::FacetsHelperBehavior) do %>
      <%= helpers.render_facet_partials @fields, response: @response %>
    <% end %>
  <% end %>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
blacklight-7.23.0.1 app/components/blacklight/response/facet_group_component.html.erb
blacklight-7.23.0 app/components/blacklight/response/facet_group_component.html.erb