X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/ad088c1324d08a65f6f5336bedf7a88a8a8950e7..3062c2d0a2b51fdf3c6b1f3bbd35d524020890a7:/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 00f9feb..5c01987 100644 --- a/app/views/common/_methodinfo_ssd.rhtml +++ b/app/views/common/_methodinfo_ssd.rhtml @@ -31,8 +31,8 @@ Beatpath Winner, Path Voting, and Path Winner.

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