projects
/
selectricity-live
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refactored the results page
[selectricity-live]
/
app
/
views
/
quickvote
/
_methodinfo_plurality.rhtml
diff --git
a/app/views/quickvote/_result_plurality.rhtml
b/app/views/quickvote/_methodinfo_plurality.rhtml
similarity index 83%
rename from
app/views/quickvote/_result_plurality.rhtml
rename to
app/views/quickvote/_methodinfo_plurality.rhtml
index 86a94691170027c538c96ec7755c1aab8adb843d..9411611c569462f59faca0b3a87309bd1fc55534 100644
(file)
--- a/
app/views/quickvote/_result_plurality.rhtml
+++ b/
app/views/quickvote/_methodinfo_plurality.rhtml
@@
-1,7
+1,3
@@
-<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>
@@
-15,4
+11,5
@@
post," "winner-take-all," "majoritarian" or "simple majority"
voting.</p>
</div>
voting.</p>
</div>
+
<%= image_tag(graph_url( :action => 'plurality_pie', :id => @election ) )%>
<%= image_tag(graph_url( :action => 'plurality_pie', :id => @election ) )%>
Benjamin Mako Hill
||
Want to submit a patch?