X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/5901217a8893619fbdb02d540c08390f92eae368..f2ac11cbeb49cbccd62da51c31e14a8de1a6d26c:/app/views/voter/review.rhtml?ds=sidebyside diff --git a/app/views/voter/review.rhtml b/app/views/voter/review.rhtml index d9ecf19..a72ecda 100644 --- a/app/views/voter/review.rhtml +++ b/app/views/voter/review.rhtml @@ -24,15 +24,28 @@ preferred to least preferred:

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 hte voting period.

- -

<%= 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.

- +

<% 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 %> +

+ + <% 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 %> +

+