projects
/
selectricity
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Allow custimizable graph sizes, to fit with newly modular results page. Also,
[selectricity]
/
app
/
views
/
quickvote
/
_result_plurality.rhtml
diff --git
a/app/views/quickvote/_result_plurality.rhtml
b/app/views/quickvote/_result_plurality.rhtml
index 121c1dc9acac23f1d06ce4ab03c34f322ef4dcde..86a94691170027c538c96ec7755c1aab8adb843d 100644
(file)
--- a/
app/views/quickvote/_result_plurality.rhtml
+++ b/
app/views/quickvote/_result_plurality.rhtml
@@
-1,6
+1,7
@@
-<div class="resultbox">
<h3>Plurality Results</h3>
<h3>Plurality Results</h3>
+<%= render :partial => 'result', :object => @election.plurality_result %>
+
<div class="rbmoreinfo">
<h4>About Plurality Voting</h4>
<div class="rbmoreinfo">
<h4>About Plurality Voting</h4>
@@
-14,4
+15,4
@@
post," "winner-take-all," "majoritarian" or "simple majority"
voting.</p>
</div>
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?