X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/c5fda1e5174238779afd496014379d6446d1e3c1..e3b1d64e4220f627e53b6c8c0f70ba941dfdc788:/app/views/voter/review.rhtml diff --git a/app/views/voter/review.rhtml b/app/views/voter/review.rhtml index d1eb9dc..7ecaf5f 100644 --- a/app/views/voter/review.rhtml +++ b/app/views/voter/review.rhtml @@ -1,31 +1,38 @@ -<% %> +
+ Review + <%= @voter.election.name %> +
-

Please review your vote carefully before confirming it.

+

Your vote will not be recorded until you confirm it on this +page. Please review your vote carefully before clicking +confirm.

You have ranked the candidates in the following order (from most preferred to least preferred:

    - <% for rank in @vote.rankings.sort %> -
  1. <%= rank.candidate.name %>
  2. + <% for rank in @voter.vote.rankings.sort %> +
  3. <%=h rank.candidate.name.capitalize %>
  4. <% end %>
- - - - - +
+ Confirm/Discard + +
- - - - +

Please select from one of the following pages.

- - - - +
+

<%= button_to 'Confirm This Vote', :action => 'confirm', :id => @voter.password %>

+ +

If you choose, you will be able to go back
and change it up until + the end of the voting period.

-
<%= button_to 'Confirm', :action => 'confirm', :id => @voter.password %>Confirm this vote now. You will be able to go back and - change it.
<%= button_to 'Change', :action => 'index', :id => @voter.password %>Go back to the voting page and vote again.
<%= button_to 'Discard', :action => 'discard' %>Discard this tentative vote and log out.
+

<%= button_to 'Discard This Vote', votepassword_url( + :action => 'index', :urlpassword => @voter.password) %>

+ +

You will be returned to the voting page to vote
again, if you choose.

+ + +