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