Created a partial to DRY the aja voting method. Modified the voter class to
[selectricity-live] / app / views / voter / _vote.rhtml
index b95fc96209151e9c27ade5fce98d281fb940689c..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')) do  %>
-<% else %>
-  <%= form_tag :action => 'review', :id => @voter.password %>
-<% end %>
-
+<%= form_tag :action => 'review', :id => @voter.password %>
 <%= text_field :vote, :votestring -%>
 <%= submit_tag "Vote!" %>
-<% end %>
+
 

Benjamin Mako Hill || Want to submit a patch?