X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/131cab23209cb1dfa81930240b8cf722d2302131..37ccb3a5511504b6b58c3fe70135e016d0a61bfd:/app/views/quickvote/_pref_tables.rhtml?ds=sidebyside diff --git a/app/views/quickvote/_pref_tables.rhtml b/app/views/quickvote/_pref_tables.rhtml index 628ce55..3479167 100644 --- a/app/views/quickvote/_pref_tables.rhtml +++ b/app/views/quickvote/_pref_tables.rhtml @@ -1,8 +1,9 @@ -<% candidates = @election.condorcet_result.ranked_candidates.flatten -%> +<% candidates = @election.ssd_result.ranked_candidates.flatten -%> <% voters = @election.voters.size %> -<% matrix = @election.condorcet_result.matrix %> -<% victories = @election.condorcet_result.victories_and_ties %> +<% matrix = @election.ssd_result.matrix %> +<% victories = @election.ssd_result.victories_and_ties %> +<% if candidates.size <= 7 -%> @@ -30,7 +31,7 @@ <% end -%>
- +
<% candidates.each do |victor| %> @@ -49,3 +50,5 @@ <% end -%>
+<% end -%> +