]> projects.mako.cc - selectricity/blobdiff - app/views/quickvote/results.rhtml
licensed under the AGPL
[selectricity] / app / views / quickvote / results.rhtml
index c0de537b423229f3c1fc28ad71cbf91caece8895..5fd5f9e4bc0d15cf5cd8defe0a71a97be85a167b 100644 (file)
@@ -5,6 +5,10 @@
   <span class="subheader">Results</span>
 </div>
 
+<div id="winner_box">
+<%= render :partial => 'result', :object => @results[@election.election_method] %>
+</div>
+
 <% if @election.shortdesc %>
   <p><strong>Vote Description:</strong></p>
   <blockquote><em><%=h @election.shortdesc %></em>
 
 <div class="clear-div"></div>
 
-<div class="normal-header">
-  <span class="header">Voter Report</span>
-  <span class="subheader"></span>
-</div>
-
-<p><%= link_to "[View All Voters]", :controller => "quickvote", :action => "list_voters", :id => @election.id %></p>
-<br />
-
 <!--
 <%= image_tag( graph_url( :action => 'choices_positions', :id => @election ) ) %><br />
 -->

Benjamin Mako Hill || Want to submit a patch?