Extended the COLORS array in graph controller so that elections with multiple
[selectricity] / app / views / quickvote / _pref_tables.rhtml
index 3479167d226296cc14a0864c47b1299d2efb452a..588ec22d8aa88e19883fc1cda0a08c06bb6edbcb 100644 (file)
@@ -7,6 +7,9 @@
 <!-- This table shows how many times each choice was ranked above the other, 
        with percentages-->
 <table class="preftable">
+<caption>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.</caption>
   <tr>
        <td></td>
        <% candidates.each do |candidate| -%>
@@ -34,6 +37,9 @@
 <br />
 <!-- This table generates a margin of victory -->
 <table class="preftable">
+<caption>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.
+</caption>
   <% candidates.each do |victor| %>
   <tr>
     <th><%=h @names[victor] %></th>

Benjamin Mako Hill || Want to submit a patch?