Created a partial to DRY the aja voting method. Modified the voter class to
[selectricity-live] / app / views / voter / full_vote.rhtml
index 599308f795d30830327d9dfbf4a787e42023d344..e6ccb26d16f8e55a04cc7d7bc601150a5ebb07ab 100644 (file)
@@ -1,5 +1,13 @@
 <% %>
 
-<%= render_partial 'vote' %>
+<p><strong>Election:</strong> <%= @voter.election.name %></p>
+<p><strong>Voter:</strong> <%= @voter.email %></p>
+<p><strong>Description:</strong></p>
+<blockquote><%= @voter.election.description %></blockquote>
 
+<%= render :partial => 'vote' %>
+
+<%= render :partial => 'sortable_vote' %>
+
+<%= button_to "Submit Vote", :action => 'review', :id => @voter.password %>
 

Benjamin Mako Hill || Want to submit a patch?