Created a partial to DRY the aja voting method. Modified the voter class to
[selectricity-live] / app / views / voter / full_vote.rhtml
old mode 100755 (executable)
new mode 100644 (file)
index 2f1fc22..e6ccb26
@@ -5,6 +5,9 @@
 <p><strong>Description:</strong></p>
 <blockquote><%= @voter.election.description %></blockquote>
 
-<%= render_partial 'vote' %>
+<%= render :partial => 'vote' %>
 
+<%= render :partial => 'sortable_vote' %>
+
+<%= button_to "Submit Vote", :action => 'review', :id => @voter.password %>
 

Benjamin Mako Hill || Want to submit a patch?