<% victories = @election.condorcet_result.victories_and_ties %>
<% names = @election.names_by_id %>
-
<!-- This table shows how many times each choice was ranked above the other,
with percentages-->
-<table class="voterbox">
+<table class="preftable">
<tr>
- <td> </td>
+ <td></td>
<% candidates.each do |candidate| -%>
<th><%=h names[candidate] -%></th>
<% end -%>
</table>
<!-- This table generates a margin of victory -->
-<table class="voterbox">
+<table class="preftable">
<% candidates.each do |victor| %>
<tr>
<th><%=h names[victor] %></th>
<% else -%>
(<%= margin%>)
<% end -%>
- </td>
+ </td>
<% end -%>
</tr>
<% end -%>
</table>
-