X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/04f827dd4647f3a7d6e5bd8f5e9083c730a8dccc..171c0354e74b4fdd73e25ea05f5b2d23c0d1642f:/app/views/voter/_vote.rhtml diff --git a/app/views/voter/_vote.rhtml b/app/views/voter/_vote.rhtml index b9a2688..b95fc96 100644 --- a/app/views/voter/_vote.rhtml +++ b/app/views/voter/_vote.rhtml @@ -3,20 +3,21 @@

Candidates or choices:

    <% for candidate in @voter.election.candidates.sort %> -
  1. <%= candidate.name %>
  2. +
  3. <%= candidate.name.capitalize %>
  4. <% end %>

In the box below, list each choice in order of most preferred to -least preferred. (For example, 123 or 321 or 213, etc.)

+least preferred. Please list all choices in every vote. +(For example, 123 or 321 or 213, etc.)

<% if @voter.election.quickvote? %> - <%= form_tag quickaction_url( :votename => @voter.election.name, :action => 'confirm') %> + <% form_tag(quickaction_url( :ident => @voter.election.name, :action => 'confirm')) do %> <% else %> <%= form_tag :action => 'review', :id => @voter.password %> <% end %> <%= text_field :vote, :votestring -%> <%= submit_tag "Vote!" %> -<%= end_form_tag %> +<% end %>