Added the Gruff library to the lib/ directory of the the rails folder, and the
[selectricity] / app / views / quickvote / _result_approval.rhtml
index 12c7958741f67e47407483d683941eab63d00878..a7e11ce52ad7c87224ed781a017ccb631a030c8a 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>
 
@@ -14,4 +15,4 @@ accept or not.</p>
 
 </div>
 
-</div>
\ No newline at end of file
+<%= render :partial => 'approval_table' %>
\ No newline at end of file

Benjamin Mako Hill || Want to submit a patch?