Allow custimizable graph sizes, to fit with newly modular results page. Also,
[selectricity] / app / views / quickvote / _pref_tables.rhtml
index 66e0cbf2df1fbf7870581ca6ed849b66db2c7f21..0d2b020f654c6de57a5f145d009da14c28e8d5d8 100644 (file)
@@ -4,7 +4,6 @@
 <% victories = @election.condorcet_result.victories_and_ties %>
 <% names = @election.names_by_id %>
 
 <% victories = @election.condorcet_result.victories_and_ties %>
 <% names = @election.names_by_id %>
 
-
 <!-- This table shows how many times each choice was ranked above the other, 
        with percentages-->
 <table class="voterbox">
 <!-- This table shows how many times each choice was ranked above the other, 
        with percentages-->
 <table class="voterbox">
@@ -46,9 +45,8 @@
                <% else -%>
                  (<%= margin%>)
                <% end -%>
                <% else -%>
                  (<%= margin%>)
                <% end -%>
-                 </td>
+       </td>
        <% end -%>
   </tr>
   <% end -%>
 </table>
        <% end -%>
   </tr>
   <% end -%>
 </table>
-

Benjamin Mako Hill || Want to submit a patch?