]> projects.mako.cc - selectricity/blobdiff - app/views/election/_candidate_list.rhtml
* Validate that quickvote.name is not nil
[selectricity] / app / views / election / _candidate_list.rhtml
index ca8a5cc4d9e0a940f593418db15d6390200fdef9..74d4c3c96016fbac4718169f230896854e060f13 100644 (file)
@@ -1,7 +1,7 @@
 <% %>
 <ul id="candidate_list">
   <% @election.candidates.each do |candidate| %>
-    <% @candidate = candidate %>
+    <% @current_candidate = candidate %>
       <%= render :partial => 'candidate_line' %>
     <% end %>
 </ul>

Benjamin Mako Hill || Want to submit a patch?