working quickvote support created
[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 %></li>
7 <% end %>
8 </ol>
9
10 <p>In the box below, list each choice in order of most preferred to
11 least preferred.  <em>(For example, 123 or 321 or 213, etc.)</em></p>
12
13 <% if @voter.election.quickvote? %>
14   <%= form_tag quickaction_url( :votename => @voter.election.name, :action => 'confirm') %>
15 <% else %>
16   <%= form_tag :action => 'review', :id => @voter.password %>
17 <% end %>
18
19 <%= text_field :vote, :votestring -%>
20 <%= submit_tag "Vote!" %>
21 <%= end_form_tag %>
22

Benjamin Mako Hill || Want to submit a patch?