]> projects.mako.cc - selectricity-live/blob - app/views/voter/review.rhtml
Can upload images on the edit_general_information page as well, but has no checks...
[selectricity-live] / app / views / voter / review.rhtml
1 <div id="title-header">
2   <span class="header">Review</span>
3   <span class="subheader"><%= @voter.election.name %></span>
4 </div>
5
6 <p><strong>Your vote will not be recorded until you confirm it on this
7 page.</strong> Please review your vote carefully before clicking 
8 confirm.</p>
9
10 <p>You have ranked the candidates in the following order (from most
11 preferred to least preferred:</p>
12
13 <ol>
14   <% for rank in @voter.vote.rankings.sort %>
15   <li><%=h rank.candidate.name.capitalize %> </li>
16   <% end %>
17 </ol>
18
19 <div class="normal-header">
20   <span class="header">Confirm/Discard</span>
21   <span class="subheader"></span>
22 </div>
23
24 <p>Please select from one of the following pages.</p>
25
26 <div style="text-align: center;">
27   <p><%= button_to 'Confirm This Vote', :action => 'confirm', :id => @password %></p>
28
29   <p>If you choose, you will be able to go back<br />and change it up until
30   the end of the voting period.</p>
31   <p><%= button_to 'Discard This Vote', votepassword_url(
32                    :action => 'index', :urlpassword => @password) %></p>
33
34   <p>You will be returned to the voting page to vote<br /> again, if you choose.</p>
35
36 </tr>
37 </div>

Benjamin Mako Hill || Want to submit a patch?