merged in from code from the other master
[selectricity] / app / views / voter / thanks.rhtml
index b19cb04e694bdab2a0ae88b3e2d9e110fc6d1822..c68e22bc0046ee7ec95abe5c291d12a6f6bd310b 100644 (file)
@@ -8,6 +8,17 @@
 
 <p>Your unique token for this vote is: <strong><%= @voter.vote.token %></strong></p>
 
-<p>Please record this token for your records and keep it secret. You
-will be able to use this token to verify that your vote was used in the
-election and that your vote was recorded correctly.</p>
+<p>Please record this token for your records and keep it secret. This is
+<strong>not</strong> the same token that you received in email. At the
+end of the election, you will be able to use this token to verify that
+your vote was used in the election and that your vote was recorded
+correctly.</p>
+
+<% if @voter.election.kiosk? and params[:kiosk] == 'true' %>
+
+<p>Please click the done button below when finished to reset the system
+for the next voter.</p>
+
+<%= button_to "Done", :action => "kiosk_ready", :id => @password, :kiosk => true  %>
+
+<% end %>

Benjamin Mako Hill || Want to submit a patch?