The defeats lsit partial contains the display logic for the mehtod added to condorcet...
[selectricity] / app / views / quickvote / results.rhtml
index 5626636c7000b0a29aa9de1c07bb2c24d6529a8e..cba32d08f66761ffad948f64a949e0feb884505f 100644 (file)
@@ -1,3 +1,4 @@
+<%  %>
 <%require 'IPAddr' %>
 <h1>Results</h1>
 
@@ -159,7 +160,7 @@ by several other names.</p>
       <%= `host #{IPAddr.new(voter.ipaddress).to_s}`.sub(/^.*pointer (.*)\.$/, '\1') %>
     
     <% rescue ArgumentError => err %>
-      <%= " - " %>
+      <%= voter.ipaddress %>
     <% end %>
     </td>
   <td><%= voter.vote.votestring %></td>
@@ -167,6 +168,7 @@ by several other names.</p>
 <% end %>
 </table>
 
+<%= render :partial => 'defeats_list' %>
 <%= render :partial => 'pref_table' %>
 
 <%= image_tag( graph_url( :action => 'votes_per_day', :id => @election ) ) %><br />

Benjamin Mako Hill || Want to submit a patch?