X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/af840c52358dc9fa8378194b2c05872dcd50dd69..7065ec58c26803b9fbc99476c09c1599996f4cc1:/app/views/common/_methodinfo_ssd.rhtml?ds=sidebyside diff --git a/app/views/common/_methodinfo_ssd.rhtml b/app/views/common/_methodinfo_ssd.rhtml index 25bc354..230191c 100644 --- a/app/views/common/_methodinfo_ssd.rhtml +++ b/app/views/common/_methodinfo_ssd.rhtml @@ -25,13 +25,13 @@ Beatpath Winner, Path Voting, and Path Winner.

<% 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 %>