<span class="subheader">Results</span>
</div>
+<div id="winner_box">
+<%= render :partial => 'common/result', :object => @results[@election.election_method] %>
+</div>
+
<% if @election.shortdesc %>
<p><strong>Vote Description:</strong></p>
<blockquote><em><%=h @election.shortdesc %></em>
<ol>
<% for candidate in @election.candidates.sort %>
- <li><%=h candidate.name.capitalize %></li>
+ <li><%= white_list(candidate.name.capitalize) %></li>
<% end %>
</ol>
<%= @election.voters.reject {|v| not v.voted? }.length %>
</blockquote>
-<%= render :partial => 'result_box',
+<%= render :partial => 'common/result_box',
:locals => { :method => @election.election_method } %>
<% for result_type in @election.other_methods %>
-<%= render :partial => 'result_box',
+<%= render :partial => 'common/result_box',
:locals => { :method => result_type } %>
<% end %>