]> projects.mako.cc - selectricity/blobdiff - app/views/quickvote/results.rhtml
fixed up the results page in a number of ways
[selectricity] / app / views / quickvote / results.rhtml
index 3ba74f56b17383c35732a1730e80b625955703ec..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>
@@ -25,7 +29,7 @@
 
 <p><strong>Number of voters:</strong></p>
    <blockquote>
-     <%= @election.voters.reject {|v| not v.voted? }.length %> (see below for details) 
+     <%= @election.voters.reject {|v| not v.voted? }.length %>
    </blockquote>
 
 <%= render :partial => 'result_box',

Benjamin Mako Hill || Want to submit a patch?