X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/4e7a42adf9f2cb9319265596d73ed10d978e5f81..4c5046ffa16ea77da4e4b69517dcb33bc6ec2646:/app/views/quickvote/_pref_table.rhtml diff --git a/app/views/quickvote/_pref_table.rhtml b/app/views/quickvote/_pref_table.rhtml index a3ba63d..011fcbe 100644 --- a/app/views/quickvote/_pref_table.rhtml +++ b/app/views/quickvote/_pref_table.rhtml @@ -1,6 +1,6 @@ <% candidates = @election.candidates.sort.collect {|candidate| candidate.id}-%> <% voters = @election.voters.size %> - +<% matrix = @election.condorcet_result.matrix %> <% names = Hash.new -%> <% candidates.each do |candidate| -%> <%names[candidate] = Candidate.find(candidate).name -%> @@ -19,9 +19,9 @@ <% candidates.each do |loser| -%> <% if winner == loser -%>