]> projects.mako.cc - selectricity-live/blobdiff - app/views/quickvote/_victories_ties.rhtml
Finished organzing preferential vote tables into one partial. Also changed RubyVote...
[selectricity-live] / app / views / quickvote / _victories_ties.rhtml
diff --git a/app/views/quickvote/_victories_ties.rhtml b/app/views/quickvote/_victories_ties.rhtml
deleted file mode 100644 (file)
index 993caa8..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-<% victories, tied = @election.condorcet_result.victories_and_ties %>
-<% names = @election.names_by_id %>
-<% %>
-<table class="voterbox">
-  <% victories.keys.each do |victor| %>
-  <tr>
-    <th><%=h names[victor] %></th>
-       <% victories[victor].keys.each do |loser| %>
-       <td><%=h names[loser] %> (<%= victories[victor][loser] %>)</td>
-       <% end -%>
-  </tr>
-  <% end -%>
-</table>
-               
-       
-       
-

Benjamin Mako Hill || Want to submit a patch?