dc240af61ea0d3e81e308f3c6db2dd36c0bdb37c
[selectricity-live] / app / views / voter / _vote.rhtml
1 <% %>
2
3 <p><strong>Candidates or choices:</strong></p>
4 <ol>
5 <% for candidate in @voter.election.candidates.sort %>
6   <li><%= candidate.name.capitalize %></li>
7 <% end %>
8 </ol>
9
10 <p>In the box below, list each choice in order of most preferred to
11 least preferred. Please list <em>all</em> choices in every vote.
12 <em>(For example, 123 or 321 or 213, etc.)</em></p>
13
14 <% if @voter.election.quickvote? %>
15   <%= form_tag quickaction_url( :votename => @voter.election.name, :action => 'confirm') %>
16 <% else %>
17   <%= form_tag :action => 'review', :id => @voter.password %>
18 <% end %>
19
20 <%= text_field :vote, :votestring -%>
21 <%= submit_tag "Vote!" %>
22 <%= end_form_tag %>
23

Benjamin Mako Hill || Want to submit a patch?