]> projects.mako.cc - selectricity/blobdiff - app/views/quickvote/_result_plurality.rhtml
Refined the CSS and fixed some of the more recent issues.
[selectricity] / app / views / quickvote / _result_plurality.rhtml
index 121c1dc9acac23f1d06ce4ab03c34f322ef4dcde..86a94691170027c538c96ec7755c1aab8adb843d 100644 (file)
@@ -1,6 +1,7 @@
-<div class="resultbox">
 <h3>Plurality Results</h3>
 
+<%= render :partial => 'result', :object => @election.plurality_result %>
+
 <div class="rbmoreinfo">
 <h4>About Plurality Voting</h4>
 
@@ -14,4 +15,4 @@ post," "winner-take-all," "majoritarian" or "simple majority"
 voting.</p>
 
 </div>
-</div>
\ No newline at end of file
+<%= image_tag(graph_url( :action => 'plurality_pie', :id => @election ) )%>

Benjamin Mako Hill || Want to submit a patch?