Sha256: 4adb4c892ca37f8263e8b9a8f2ce86ae1537d7dfcb7cf192de9d29f24699367d

Contents?: true

Size: 779 Bytes

Versions: 12

Compression:

Stored size: 779 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">
      <%= render_facet_limit_list @facet_field.paginator, @facet_field.key %>
    </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

12 entries across 12 versions & 1 rubygems

Version Path
blacklight-7.14.1 app/components/blacklight/facet_field_list_component.html.erb
blacklight-7.14.0 app/components/blacklight/facet_field_list_component.html.erb
blacklight-7.13.2 app/components/blacklight/facet_field_list_component.html.erb
blacklight-7.13.1 app/components/blacklight/facet_field_list_component.html.erb
blacklight-7.13.0 app/components/blacklight/facet_field_list_component.html.erb
blacklight-7.12.1 app/components/blacklight/facet_field_list_component.html.erb
blacklight-7.12.0 app/components/blacklight/facet_field_list_component.html.erb
blacklight-7.11.1 app/components/blacklight/facet_field_list_component.html.erb
blacklight-7.10.0 app/components/blacklight/facet_field_list_component.html.erb
blacklight-7.9.0 app/components/blacklight/facet_field_list_component.html.erb
blacklight-7.8.1 app/components/blacklight/facet_field_list_component.html.erb
blacklight-7.8.0 app/components/blacklight/facet_field_list_component.html.erb