X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/aca2ebb98aeae4744e3c50f9fca7e08a1dd784a2..f7761282a6a0744caadfa6ddfb44f09d68c9f928:/app/views/voter/_vote.rhtml diff --git a/app/views/voter/_vote.rhtml b/app/views/voter/_vote.rhtml index d144791..b95fc96 100644 --- a/app/views/voter/_vote.rhtml +++ b/app/views/voter/_vote.rhtml @@ -12,12 +12,12 @@ 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( :ident => @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 %>