Sha256: e661bec3ec5fa8afcf632e1285e82c0f31fe79e1cbf2c43097592b9b37e0a884
Contents?: true
Size: 842 Bytes
Versions: 46
Compression:
Stored size: 842 Bytes
Contents
<h2 class="section-heading"> <%= searchable_resource_human_name(class_name.constantize, count: 5) %> <span class="muted"><%= t("decidim.searches.results.results", count: results_count) %></span> </h2> <div class="row small-up-1 medium-up-2 mediumlarge-up-1 large-up-2 card-grid"> <% results.each do |result| %> <%= card_for result, { context: { show_space: true }, show_footer_actions: false } %> <% end %> </div> <% if results_count > Decidim::Search::HIGHLIGHTED_RESULTS_COUNT && !paginated? %> <%= link_to( t("decidim.searches.results.view_all", count: results_count), search_path_by_resource_type(class_name), class: "button button--sc hollow button--right" ) %> <% end %> <% if paginated? %> <%= decidim_paginate results %> <% end %> <% if last_section? %> <hr class="reset mb-m mt-sm"> <% end %>
Version data entries
46 entries across 46 versions & 1 rubygems