X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/9129a21b28c88064edfcfc8a8fa23a640f29819c..15870a550ddd18192efc71c1355a238e7c7c53e8:/app/views/common/_methodinfo_condorcet.rhtml?ds=inline diff --git a/app/views/common/_methodinfo_condorcet.rhtml b/app/views/common/_methodinfo_condorcet.rhtml index 1cb5fae..1c2a382 100644 --- a/app/views/common/_methodinfo_condorcet.rhtml +++ b/app/views/common/_methodinfo_condorcet.rhtml @@ -13,14 +13,14 @@ 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. - <% if not @election.type == QuickVote %> - <%= link_to "Click here", { :action => 'pref_tables', :id => @voter.password }, :popup => [] %> + <% if not @election.class == QuickVote %> + <%= link_to "Click here", { :action => 'pref_tables', :id => @election.id }, :popup => [] %> to view details. <% end %>