Allow custimizable graph sizes, to fit with newly modular results page. Also,
[selectricity] / app / views / quickvote / _result_approval.rhtml
index 12c7958741f67e47407483d683941eab63d00878..c93ce1d5a34f4952ea0e718260595c00308989a3 100644 (file)
@@ -1,7 +1,8 @@
-<div class="resultbox">
 <h3>Approval Result</h3>
 <p><font size="-1">(This algorithm assumes that top two choices are "approved.")</font></p>
 
+<%= render :partial => 'result', :object => @election.approval_result %>
+
 <div class="rbmoreinfo">
 <h4>About Approval Voting</h4>
 
@@ -12,6 +13,4 @@ chooses.  Approval voting is a limited form of range voting, where the
 range that voters are allowed to express is extremely constrained:
 accept or not.</p>
 
-</div>
-
 </div>
\ No newline at end of file

Benjamin Mako Hill || Want to submit a patch?