X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/2857ac6197adfe972a5e6129a3f26af9e148edb1..a6c1e9a2e0cb4243fd48b83af0281eccef408b04:/app/views/quickvote/_pref_tables.rhtml diff --git a/app/views/quickvote/_pref_tables.rhtml b/app/views/quickvote/_pref_tables.rhtml index 18e5aa3..628ce55 100644 --- a/app/views/quickvote/_pref_tables.rhtml +++ b/app/views/quickvote/_pref_tables.rhtml @@ -2,7 +2,6 @@ <% voters = @election.voters.size %> <% matrix = @election.condorcet_result.matrix %> <% victories = @election.condorcet_result.victories_and_ties %> -<% names = @election.names_by_id %> @@ -10,13 +9,13 @@
<%=h names[victor] %> | +<%=h @names[victor] %> | <% victories[victor].keys.each do |loser| %> <% margin = victories[victor][loser]%> -<%=h names[loser] %> + | <%=h @names[loser] %> <% if margin == 0%> Tied! <% else -%> |
---|