Sha256: 66440e95aa58331458e09fe873665d961422e01c1210a25c76a11f99df3e05ab
Contents?: true
Size: 828 Bytes
Versions: 2
Compression:
Stored size: 828 Bytes
Contents
<li class="<%= li_class %>" data-controller="<%= controller_name %>" role="treeitem"> <% ul_id = "b-h-#{SecureRandom.alphanumeric(10)}" %> <%= helpers.facet_toggle_button(field_name, id, ul_id) if subset.any? %> <% if item.nil? %> <%= key %> <% elsif qfacet_selected? %> <%= render Blacklight::Hierarchy::SelectedQfacetValueComponent.new(field_name: field_name, item: item) %> <% else %> <%= render Blacklight::Hierarchy::QfacetValueComponent.new(field_name: field_name, item: item, id: id) %> <% end %> <% unless subset.empty? %> <ul id="<%= ul_id %>" class="collapse" data-b-h-collapsible-target="list" role="group"> <% subset.keys.each do |subkey| %> <%= render self.class.new(field_name: field_name, tree: subset[subkey], key: subkey) %> <% end %> </ul> <% end %> </li>
Version data entries
2 entries across 2 versions & 1 rubygems