X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/c65b1e11059c5cf510b54c785d4a246215058f70..HEAD:/app/views/voter/review.rhtml diff --git a/app/views/voter/review.rhtml b/app/views/voter/review.rhtml index d1eb9dc..a72ecda 100644 --- a/app/views/voter/review.rhtml +++ b/app/views/voter/review.rhtml @@ -1,31 +1,51 @@ -<% %> +
+ 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.

- - - - +
+

<% if @voter.election.kiosk? and params[:kiosk] == 'true' %> + <%= button_to 'Confirm This Vote', :action => 'confirm', :id => @password, + :kiosk => true %> + <% else %> + <%= button_to 'Confirm This Vote', :action => 'confirm', :id => @password %> + <% end %> +

-
<%= 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.
+ <% unless @voter.election.kiosk? %> +

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

+ <% end %> + +

<% if @voter.election.kiosk? and params[:kiosk] == 'true' %> + <%= button_to 'Discard This Vote', + votepassword_url(:action => 'index', :urlpassword => @password, + :kiosk => true) %> + <% else %> + <%= button_to 'Discard This Vote', + votepassword_url(:action => 'index', :urlpassword => @password) %> + <% end %> +

+ + +