X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/f0a07fead89d29513f76ee42b29a0f87dbe926d6..ee7a5c7130df812e96922e9f47ed9355cc78e72c:/app/views/quickvote/_pref_table.rhtml?ds=sidebyside diff --git a/app/views/quickvote/_pref_table.rhtml b/app/views/quickvote/_pref_table.rhtml index 32f5de4..011fcbe 100644 --- a/app/views/quickvote/_pref_table.rhtml +++ b/app/views/quickvote/_pref_table.rhtml @@ -1,4 +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 -%> @@ -7,18 +9,24 @@