X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/c5ca3aa0771719286fb9f1a468c28a83af52292b..5901217a8893619fbdb02d540c08390f92eae368:/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 -%>