Sha256: 4186890431a5f62604e007d101656cc6107ff5d4605372a8d2078aa28352f63b
Contents?: true
Size: 828 Bytes
Versions: 1
Compression:
Stored size: 828 Bytes
Contents
<%= render(@layout.new(facet_field: @facet_field)) do |component| %> <% component.label do %> <%= @facet_field.label %> <% end %> <% component.body do %> <%= helpers.render(Blacklight::FacetFieldInclusiveConstraintComponent.new(facet_field: @facet_field)) %> <ul class="facet-values list-unstyled"> <%= render facet_items %> </ul> <%# backwards compatibility, ugh %> <% if @layout == Blacklight::FacetFieldNoLayoutComponent && !@facet_field.in_modal? && @facet_field.modal_path %> <div class="more_facets"> <%= link_to t("more_#{@facet_field.key}_html", scope: 'blacklight.search.facets', default: :more_html, field_name: @facet_field.label), @facet_field.modal_path, data: { blacklight_modal: 'trigger' } %> </div> <% end %> <% end %> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
blacklight-8.0.0.beta1 | app/components/blacklight/facet_field_list_component.html.erb |