From: C. Scott Ananian Date: Sat, 22 Jan 2011 08:44:03 +0000 (-0500) Subject: Suppress description of voter-verifiability unless election is verifiable. X-Git-Url: https://projects.mako.cc/source/selectricity/commitdiff_plain/ee280d9250b5b4c925cc6b4809ce40437d600e7d Suppress description of voter-verifiability unless election is verifiable. --- diff --git a/app/views/voter/thanks.rhtml b/app/views/voter/thanks.rhtml index c68e22b..84054d6 100644 --- a/app/views/voter/thanks.rhtml +++ b/app/views/voter/thanks.rhtml @@ -6,6 +6,7 @@

Your vote has been recorded for the <%= @voter.election.name %>.

+<% if @voter.election.verifiable %>

Your unique token for this vote is: <%= @voter.vote.token %>

Please record this token for your records and keep it secret. This is @@ -13,6 +14,7 @@ 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.

+<% end %> <% if @voter.election.kiosk? and params[:kiosk] == 'true' %>