- <% 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 => [] %>