<% %>

The matrix listing the number of times that any candidate was preferred to any other candidates is listed here:

<% for candidate in @election.candidates.sort %> <% end %> <% for cand1 in @election.candidates.sort %> <% for cand2 in @election.candidates.sort %> <% end %> <% end %>
<%=h candidate.name %>
<%=h cand1.name %> <% if cand1 == cand2 %> N/A <% next %> <% else %> <%= @voteobj.votes[cand1.id][cand2.id] %> <% end %>