]> projects.mako.cc - selectricity/blob - app/views/voter/vote.rhtml
Major changes in this commit over include work over several days but that was never...
[selectricity] / app / views / voter / vote.rhtml
1 <% %>
2
3 <h1>Vote Below the Line</h1>
4
5 <p><strong>Election:</strong> <%= @voter.election.name %></p>
6
7 <p><strong>Voter:</strong> <%= @voter.email %></p>
8
9 <p><strong>Candidates:</strong></p>
10
11 <ol>
12 <% for candidate in @voter.election.candidates.sort %>
13   <li><%= candidate.name %></li>
14 <% end %>
15 </ol>
16
17 <p>If this information is incorrect, please notify the vote
18 administrator immediatedly!</p>
19
20 <hr />
21
22 <h2>Place Your Vote Here</h2>
23
24 <p>Rank each candidate in order of more preferred to least
25 preferred. (e.g., 123 or 321 or 213, etc.)</p>
26
27 <%= form_tag :action => 'review', :id => @voter.password %>
28 <%= text_field :vote, :votestring -%>
29 <%= submit_tag "Submit!" %>
30 <%= end_form_tag %>
31
32
33
34
35

Benjamin Mako Hill || Want to submit a patch?