<%= heading_leaf_level_results(total_count) %>

<% results.each do |result| %>
<%= icon "actions", class: "card--list__icon", remove_icon_class: true %> <%= link_to result_path(result), class: "card--list__text card__link card__link--block" do %>
<%= translated_attribute(result.title) %>
<% if result.start_date %> <%= t("models.result.fields.start_date", scope: "decidim.accountability") %> <%= result.start_date %> <% end %> <% if result.end_date %> <%= t("models.result.fields.end_date", scope: "decidim.accountability") %> <%= result.end_date %> <% end %> <% if result.status %> <%= t("models.result.fields.status", scope: "decidim.accountability") %> <%= translated_attribute(result.status.name) %> <% end %>
<% end %> <% if result.progress.present? %>
<%= display_percentage result.progress %>
<% end%>
<% end %>
<%= decidim_paginate results, order_start_time: params[:order_start_time], scope_id: params[:scope_id] %>