X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/560828ebdd364de4ca09d61764f19215a9e29e59..dc7d60a0de460c72d292b43616eb97a8b34741c8:/app/views/elections/detailed_results.rhtml diff --git a/app/views/elections/detailed_results.rhtml b/app/views/elections/detailed_results.rhtml index cfb0e5a..4668570 100644 --- a/app/views/elections/detailed_results.rhtml +++ b/app/views/elections/detailed_results.rhtml @@ -1,10 +1,25 @@ <% %> +

Result

+ +<%= render_partial 'winner' %> + +

Result Details

+ +<%= render_partial 'winner_details' %> + +

Election Rolls for Voter Verification

+

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

-

Voters

- +

Information is displayed here to help voters verify that their own +vote was recorded correctly and that the election was not tampered +with.

+ +

Voters

+
+ <% for email in @voter_list %> @@ -12,26 +27,28 @@ last election are are follows.

<% end %>
Voters (A-Z)
<%= email %>
-

Votes (by Token)

+

Votes by Token

The votes, listed in alphabetical order by token.

- + + <% for candidate in @election.candidates.sort.reverse %> <% end %> + <% for vote in @vote_list %> - - -<% for ranking in vote.rankings %> - -<% end %> - + + + <% for ranking in vote.rankings %> + + <% end %> + <% end %>
TokenToken (0-9, A-Z) Rank of Candidates
<%= candidate %>
<%= vote.token %><%= ranking %>
<%= vote.token %><%= ranking %>