2 <p>The matrix listing the number of times that any candidate was
3 preferred to any other candidates is listed here:</p>
8 <% for candidate in @election.candidates.sort %>
9 <th><%=h candidate.name %></th>
12 <% for cand1 in @election.candidates.sort %>
14 <th><%=h cand1.name %></th>
15 <% for cand2 in @election.candidates.sort %>
17 <% if cand1 == cand2 %>
21 <%= @voteobj.votes[cand1.id][cand2.id] %>