Created a partial to DRY the aja voting method. Modified the voter class to
[selectricity-live] / app / views / voter / _vote.rhtml
index d1447916c846451b64d19d05e580411977f12bc0..914077ce1d50783317fdf7cb1616bb19083eb441 100644 (file)
 least preferred. Please list <em>all</em> choices in every vote.
 <em>(For example, 123 or 321 or 213, etc.)</em></p>
 
-<% if @voter.election.quickvote? %>
-  <%= form_tag quickaction_url( :ident => @voter.election.name, :action => 'confirm') %>
-<% else %>
-  <%= form_tag :action => 'review', :id => @voter.password %>
-<% end %>
-
+<%= form_tag :action => 'review', :id => @voter.password %>
 <%= text_field :vote, :votestring -%>
 <%= submit_tag "Vote!" %>
-<%= end_form_tag %>
+
 

Benjamin Mako Hill || Want to submit a patch?