]> projects.mako.cc - selectricity/blobdiff - app/views/quickvote/_results_sidebar.rhtml
licensed under the AGPL
[selectricity] / app / views / quickvote / _results_sidebar.rhtml
index c60ed3ddfc1cf90a31e10cddf936a2e2d4283fc7..30047a48347921ca790773ab2c6b5bb81623f103 100644 (file)
@@ -1,10 +1,9 @@
-<h2>Winner</h2>
-<%= render :partial => 'result', :object => @results[@election.election_method] %>
+<h2>Method</h2>
 
 <p>This election was run using:
 <strong><%= ELECTION_TYPES[@election.election_method] %></strong></p>
 
-<p>View results with other methods:<br />
+<p>View results using other methods:<br />
 <% type_hash = {}; ELECTION_TYPES.each {|k,v| type_hash[v] = k} %>
 <%= select_tag 'election_type_select', options_for_select(type_hash, @election.election_method) %></p>
 
@@ -34,4 +33,11 @@ Event.observe(method_select, 'change', show_results_for);
 
 <h2>Statistics</h2>
 <%= image_tag( graph_url( :action => 'votes_per_interval', :id => @election ))%>
+<br />
+<br />
+
+<h2>Voter Report</h2>
+
+<p><%= link_to "[Map/List of Voters]", :controller => "quickvote",
+       :action => "list_voters", :id => @election.id %></p>
 

Benjamin Mako Hill || Want to submit a patch?