Sha256: 222c509d9e0155ccc2d038f85048ba40f96c3fba0447a85e6b714c3b5e5860ea
Contents?: true
Size: 728 Bytes
Versions: 13
Compression:
Stored size: 728 Bytes
Contents
<section class="search__result"> <h2 class="h4"> <%= searchable_resource_human_name(class_name.constantize, count: 5) %> <span class="label text-md"><%= results_count %></span> </h2> <% results.each do |result| %> <%= card_for result, { size: :s } %> <% end %> <% if results_count > Decidim::Search::HIGHLIGHTED_RESULTS_COUNT && !paginated? %> <%= link_to( search_path_by_resource_type(class_name), class: "button button__text-secondary" ) do %> <span><%= t("decidim.searches.results.view_all", count: results_count) %></span> <%= icon "arrow-right-line" %> <% end %> <% end %> <% if paginated? %> <%= decidim_paginate results %> <% end %> </section>
Version data entries
13 entries across 13 versions & 1 rubygems