<ol>
<% @election.ssd_result.ranked_candidates.each do |place| %>
- <li><%= h(place.collect {|c| @names[c].capitalize}.join( " <em>and</em> " )) %>
+ <li><%= white_list place.collect {|c| @names[c].capitalize}.join( " <em>and</em> " ) %>
<%= "<strong>(TIE)</strong>" if place.length > 1 %></li>
<% end %>
</ol>
<% candidates = @election.ssd_result.ranked_candidates.flatten -%>
<% if candidates.size <= 7 -%>
- <%= render_partial 'common/pref_tables' %>
+ <%= render :partial => 'common/pref_tables' %>
<% else %>
There are too many candidates in your elections to show the result
- tables. <%= link_to "Click here", { :action => 'pref_tables', :id =>
- @voter.password }, :popup => [] %> to view details.
+ tables.
+
+ <% if not @election.type == QuickVote %>
+ <%= link_to "Click here", { :action => 'pref_tables', :id => @voter.password }, :popup => [] %>
+ to view details.
+ <% end %>
<% end -%>