fix security issue
[selectricity-live] / app / views / voter / thanks.rhtml
1 <div id="title-header">
2   <span class="header">Vote Recorded</span>
3   <span class="subheader"></span>
4 </div>
5
6 <p>Your vote has been recorded for the <strong><%= @voter.election.name
7 %></strong>.</p>
8
9 <% if @voter.election.verifiable %>
10 <p>Your unique token for this vote is: <strong><%= @voter.vote.token %></strong></p>
11
12 <p>Please record this token for your records and keep it secret. This is
13 <strong>not</strong> the same token that you received in email. At the
14 end of the election, you will be able to use this token to verify that
15 your vote was used in the election and that your vote was recorded
16 correctly.</p>
17 <% end %>
18
19 <% if @voter.election.kiosk? and params[:kiosk] == 'true' %>
20
21 <p>Please click the done button below when finished to reset the system
22 for the next voter.</p>
23
24 <%= button_to "Done", :action => "kiosk_ready", :id => @password, :kiosk => true  %>
25
26 <% end %>

Benjamin Mako Hill || Want to submit a patch?