Created a partial to DRY the aja voting method. Modified the voter class to
[selectricity-live] / app / views / voter / full_vote.rhtml
index 2f1fc22a71f924acceeb9a5a01ce8cd1d0b9ea59..e6ccb26d16f8e55a04cc7d7bc601150a5ebb07ab 100644 (file)
@@ -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?