]> projects.mako.cc - selectricity/blobdiff - app/views/common/_methodinfo_condorcet.rhtml
User summary method is now more secure. Email change method prtects account SQL injec...
[selectricity] / app / views / common / _methodinfo_condorcet.rhtml
index 743dd455fd672d50198b25626863f6e55f73d856..b941eea258158ab9657b23423796b64d909fac39 100644 (file)
@@ -19,7 +19,7 @@ another Condorcet system.</p>
   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 %>

Benjamin Mako Hill || Want to submit a patch?