Sha256: 0542af9ca122cdb04bee264b9eaffeb1da65a2e7035b3d2c24ed2dbab6b7fa83

Contents?: true

Size: 455 Bytes

Versions: 5

Compression:

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

5 entries across 5 versions & 1 rubygems

Version Path
blacklight-hierarchy-5.1.0 app/components/blacklight/hierarchy/facet_field_list_component.html.erb
blacklight-hierarchy-5.0.0 app/components/blacklight/hierarchy/facet_field_list_component.html.erb
blacklight-hierarchy-4.3.0 app/components/blacklight/hierarchy/facet_field_list_component.html.erb
blacklight-hierarchy-4.2.1 app/components/blacklight/hierarchy/facet_field_list_component.html.erb
blacklight-hierarchy-4.2.0 app/components/blacklight/hierarchy/facet_field_list_component.html.erb