Sha256: 1eb369c973176d81b9d03b76085d551dcdb9e80a76a6f72d83af81c9c3832d14
Contents?: true
Size: 1.21 KB
Versions: 7
Compression:
Stored size: 1.21 KB
Contents
<div class="accountability__grid"> <% first_class_categories.each do |category| %> <% subelements = cell( "decidim/accountability/status", category, extra_classes: "accountability__status__background", url: results_path(filter: { with_category: category, with_scope: current_scope }), render_blank: true ) %> <div> <span class="accountability__grid-title"><%= categories_label %></span> <%= subelements.call %> </div> <div> <span class="accountability__grid-title"><%= subcategories_label %></span> <% if subelements.has_results? %> <div class="accountability__subgrid"> <% category.subcategories.each do |subcategory| %> <%= cell( "decidim/accountability/status", subcategory, extra_classes: "accountability__status__border", url: results_path(filter: { with_category: subcategory, with_scope: current_scope }) ) %> <% end %> </div> <% else %> <%= cell("decidim/announcement", t("no_results", scope: "decidim.accountability.results")) %> <% end %> </div> <% end %> </div>
Version data entries
7 entries across 7 versions & 1 rubygems