X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/fb34708ad502bef4151fd3d5c55a9d4ed9839bf8..1260415e640fec24f8c970ae8e61f4a7ab4594d4:/app/views/elections/detailed_results.rhtml diff --git a/app/views/elections/detailed_results.rhtml b/app/views/elections/detailed_results.rhtml index 48296d6..cfb0e5a 100644 --- a/app/views/elections/detailed_results.rhtml +++ b/app/views/elections/detailed_results.rhtml @@ -1,29 +1,35 @@ -

The voting rolls for the last election are are follows.

+<% %> + +

The voting rolls -- displayed here in alphabetical order -- for the +last election are are follows.

Voters

-<% for voter in @voting_rolls.randomize %> +<% for email in @voter_list %> - + <% end %>
<%= voter.email %><%= email %>

Votes (by Token)

+ +

The votes, listed in alphabetical order by token.

+ -<% for candidate in @election.candidates.sort %> +<% for candidate in @election.candidates.sort.reverse %> <% end %> -<% for voter in @voting_rolls.randomize %> +<% for vote in @vote_list %> - -<% for ranking in voter.vote %> + +<% for ranking in vote.rankings %> <% end %>
Token Rank of Candidates
<%= candidate %>
<%= voter.vote.token %><%= vote.token %><%= ranking %>