X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/a356aac56f17278e79372b4e63ff3e160eec7cd2..48c010a3cab1ead44b32389a9eb7870cc76d709e:/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 5ec8b89..5c01987 100644 --- a/app/views/common/_methodinfo_ssd.rhtml +++ b/app/views/common/_methodinfo_ssd.rhtml @@ -25,12 +25,16 @@ 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. <%= 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 -%>