<%= t ".title" %> <%= t "decidim.admin.consultations.results.total_votes", count: current_consultation.total_votes %> / <%= t "decidim.admin.consultations.results.total_delegates", count: @total_delegates %> / <%= t "decidim.admin.consultations.results.participants", count: current_consultation.total_participants %> <% if allowed_to?(:export_consultation_results, :consultation, consultation: current_consultation) %> <%= link_to( t("decidim.admin.consultations.results.export"), decidim_admin_action_delegator.consultation_exports_sum_of_weights_path(current_consultation), method: :post, class: "button tiny button--title" ) %> <% else %> <%= t("decidim.admin.consultations.results.export") %> <% end %>

<% @questions.each do |question| %> <% unless question.external_voting %> <% if question.publishable_results? %> <% @responses.fetch(question.id, []).each do |row| %> <% end %> <% else %> <% end %> <% end %> <% end %>
<%= strip_tags translated_attribute question.title %> <%= t "decidim.admin.consultations.results.total_votes", count: question.total_votes %> / <%= t "decidim.admin.consultations.results.total_delegates", count: question.total_delegates %> / <%= t "decidim.admin.consultations.results.participants", count: question.total_participants %>
<%= strip_tags translated_attribute row.title %> <%= row.votes_count %>
<%= t "decidim.admin.consultations.results.not_visible" %>