<%= 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_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_by_membership.fetch(question.id, []).each do |row| %> <% end %> <% else %> <% end %> <% end %> <% end %>
<%= strip_tags translated_attribute question.title %> <%= I18n.t("decidim.admin.consultations.results.membership_type") %> <%= I18n.t("decidim.admin.consultations.results.membership_weight") %> <%= 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.membership_type %> <%= row.membership_weight %> <%= row.votes_count %>
<%= t "decidim.admin.consultations.results.not_visible" %>