Sha256: 34132b849c0ba147a87033a6debe22e0a18ca3cf396f5b13a04262008f274d05

Contents?: true

Size: 451 Bytes

Versions: 3

Compression:

Stored size: 451 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.sort.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

3 entries across 3 versions & 1 rubygems

Version Path
blacklight-hierarchy-6.2.2 app/components/blacklight/hierarchy/facet_field_list_component.html.erb
blacklight-hierarchy-6.2.1 app/components/blacklight/hierarchy/facet_field_list_component.html.erb
blacklight-hierarchy-6.2.0 app/components/blacklight/hierarchy/facet_field_list_component.html.erb