Renamed "elections" controller to "election."
[selectricity] / app / views / elections / _winner_details.rhtml
diff --git a/app/views/elections/_winner_details.rhtml b/app/views/elections/_winner_details.rhtml
deleted file mode 100644 (file)
index 0903952..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-<% %>
-<p>The matrix listing the number of times that any candidate was
-preferred to any other candidates is listed here:</p>
-
-<table border="1">
-<tr>
-<th></th>
-<% for candidate in @election.candidates.sort %>
-  <th><%= candidate.name %></th>
-<% end %>
-</tr>
-<% for cand1 in @election.candidates.sort %>
-  <tr>
-  <th><%= cand1.name %></th>
-  <% for cand2 in @election.candidates.sort %>
-    <td>
-    <% if cand1 == cand2 %>
-      N/A
-      <% next %>
-    <% else %>
-      <%= @voteobj.votes[cand1.id][cand2.id] %>
-    <% end %>
-    </td>
-  <% end %>
-  </tr>
-<% end %>
-</table>
-

Benjamin Mako Hill || Want to submit a patch?