Sha256: 7533543adfa7fc92e261093bfd5312461dde7b7276dd3548f51a84f8e6b00dfa
Contents?: true
Size: 955 Bytes
Versions: 8
Compression:
Stored size: 955 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-values list-unstyled blacklight-facet-checkboxes"> <% presenters.each_with_index do |presenter, idx| -%> <li> <span class="facet-checkbox"> <%= check_box_tag "f_inclusive[#{@facet_field.key}][]", presenter.value, presenter.selected?, id: "f_inclusive_#{@facet_field.key}_#{idx}"%> </span> <span class="label-and-count"> <%= label_tag "f_inclusive_#{@facet_field.key}_#{idx}" do %> <span class="facet-label"><%= presenter.label %></span> <span class="facet-count"><%= t('blacklight.search.facets.count', number: number_with_delimiter(presenter.hits)) %></span> <% end %> <span> </li> <% end -%> </ul> <% end %> <% end %>
Version data entries
8 entries across 8 versions & 2 rubygems