Work around CGI/fCGI bug with Webkit browsers.
[selectricity-live] / app / views / voter / thanks.rhtml
index 883b4fa78bc08ddd9b873c8b1710ebff5b8eaf5c..c68e22bc0046ee7ec95abe5c291d12a6f6bd310b 100644 (file)
@@ -9,7 +9,16 @@
 <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. This is
-<strong>not</strong> the same token that you recieved in email. At the
+<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?