X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/ac0692b4b5cebdc97c889d0cd6126a1f1e3d241d..d2eb87b3ce3d10f0e8d490d5e248c657125a68a8:/app/views/quickvote/_pref_tables.rhtml diff --git a/app/views/quickvote/_pref_tables.rhtml b/app/views/quickvote/_pref_tables.rhtml index 588ec22..b9d41ec 100644 --- a/app/views/quickvote/_pref_tables.rhtml +++ b/app/views/quickvote/_pref_tables.rhtml @@ -4,12 +4,15 @@ <% victories = @election.ssd_result.victories_and_ties %> <% if candidates.size <= 7 -%> + +

Each number in the table below shows how many times the candidate on +the left beat the matching candidate on the top. The winner is on the +top of the left column.

+ +
- <% candidates.each do |candidate| -%> @@ -34,12 +37,15 @@ left column. <% end -%>
Each number shows how many times the candidate on the left beat the -matching candidate on the top. The Schulze/Condorcet winner is on the top of the -left column.
-
+
+ +

A simplification of the above data. The winner is on the left; each +cell names the defeated candidate and the magnitude of the victory in +parenthesis.

+ +
- <% candidates.each do |victor| %> @@ -56,5 +62,6 @@ names the defeated candidate and the magnitude of the victory in parenthesis. <% end -%>
A simplification of the above data. The winner is on the left; each cell -names the defeated candidate and the magnitude of the victory in parenthesis. -
<%=h @names[victor] %>
+
<% end -%>