From ee280d9250b5b4c925cc6b4809ce40437d600e7d Mon Sep 17 00:00:00 2001 From: "C. Scott Ananian" Date: Sat, 22 Jan 2011 03:44:03 -0500 Subject: [PATCH] Suppress description of voter-verifiability unless election is verifiable. --- app/views/voter/thanks.rhtml | 2 ++ 1 file changed, 2 insertions(+) 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' %> -- 2.39.5