]> projects.mako.cc - selectricity/blob - app/views/quickvote/_victories_ties.rhtml
Add a fix for a NoMethodError when WHOIS/DNS server(s) time out.
[selectricity] / app / views / quickvote / _victories_ties.rhtml
1 <% victories, tied = @election.condorcet_result.victories_and_ties %>
2 <% names = @election.names_by_id %>
3 <% %>
4 <table class="voterbox">
5   <% victories.keys.each do |victor| %>
6   <tr>
7     <th><%=h names[victor] %></th>
8         <% victories[victor].keys.each do |loser| %>
9         <td><%=h names[loser] %> (<%= victories[victor][loser] %>)</td>
10         <% end -%>
11   </tr>
12   <% end -%>
13 </table>
14                 
15         
16         
17

Benjamin Mako Hill || Want to submit a patch?