Sha256: de15cea56da07aaa781c48cca74639520e17f255190d3109c619ab60e4eb0ebf
Contents?: true
Size: 882 Bytes
Versions: 12
Compression:
Stored size: 882 Bytes
Contents
<div class="scope-filters section"> <% if current_participatory_space.has_subscopes? %> <div><%= t('results.filters.scopes', scope: "decidim.accountability") %></div> <ul class="tags tags--action"> <li <%= active_class_if_current(nil) %>><%= link_to t("results.filters.all", scope: "decidim.accountability"), url_for(filter: { category_id: category.try(:id) }) %></li> <li <%= active_class_if_current("global") %>><%= link_to t("results.filters.global", scope: "decidim.accountability"), url_for(filter: { scope_id: "global", category_id: category.try(:id) }) %></li> <% current_participatory_space.subscopes.each do |scope| %> <li <%= active_class_if_current(scope.id) %>><%= link_to translated_attribute(scope.name), url_for(filter: { scope_id: scope.id, category_id: category.try(:id) }) %></li> <% end %> </ul> <% end %> </div>
Version data entries
12 entries across 12 versions & 1 rubygems