Sha256: 8c950c51d2327a6ce6319f8ae97fcc2179c37c5f9ecb7e6054ab1d2d2ccbf819

Contents?: true

Size: 446 Bytes

Versions: 2

Compression:

Stored size: 446 Bytes

Contents

<%= render(@layout.new(facet_field: @facet_field)) do |component| %>
  <% component.with_label do %>
    <%= @facet_field.label %>
  <% end %>
  <% component.with_body do %>
    <ul class="facet-hierarchy" role="tree">
      <% tree.keys.collect do |key| %>
        <%= render Blacklight::Hierarchy::FacetFieldComponent.new(field_name: @facet_field.facet_field.field, tree: tree[key], key: key) %>
      <% end %>
    </ul>
  <% end %>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
blacklight-hierarchy-6.4.0 app/components/blacklight/hierarchy/facet_field_list_component.html.erb
blacklight-hierarchy-6.3.0 app/components/blacklight/hierarchy/facet_field_list_component.html.erb