X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/1e8c21d4c4c93721c16a669e330a6d4e60483919..3062c2d0a2b51fdf3c6b1f3bbd35d524020890a7:/app/views/common/_methodinfo_condorcet.rhtml?ds=sidebyside diff --git a/app/views/common/_methodinfo_condorcet.rhtml b/app/views/common/_methodinfo_condorcet.rhtml index 5fb29e0..1c2a382 100644 --- a/app/views/common/_methodinfo_condorcet.rhtml +++ b/app/views/common/_methodinfo_condorcet.rhtml @@ -13,12 +13,17 @@ another Condorcet system.

<% 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.class == QuickVote %> + <%= link_to "Click here", { :action => 'pref_tables', :id => @election.id }, :popup => [] %> + to view details. + <% end %> + <% end -%>