Added Sparklines controller and dependency, see README. Created method and table...
[selectricity] / app / views / quickvote / results.rhtml
index 24a9beb7f77f613a131ad493571e3918939edd58..c49d68201a48e10363c14811cad171a6abe6dd39 100644 (file)
@@ -1,3 +1,4 @@
+<% %>
 <%require 'whois/whois' %>
 <h1>Results</h1>
 
@@ -144,7 +145,7 @@ by several other names.</p>
 
 <div class="clearbox"></div>
 
-<h2>Voters</h2>
+<h2>Voters <%= link_to "[Stalk Voters]", :controller => "quickvote", :action => "mapvoters", :id => @election.id %></h2>
 <table class="voterbox">
 <tr>
 <th>IP/Host</th>
@@ -175,7 +176,7 @@ by several other names.</p>
 <% end %>
 </table>
 
-<%= render :partial => 'defeats_list' %>
+<%= render :partial => 'victories_ties' %>
 <%= render :partial => 'pref_table' %>
 
 <%= image_tag( graph_url( :action => 'votes_per_day', :id => @election ) ) %><br />

Benjamin Mako Hill || Want to submit a patch?