]> projects.mako.cc - selectricity/blobdiff - app/views/election/_candidate_list.rhtml
Fix WHOIS library not to puke on strange IP addresses
[selectricity] / app / views / election / _candidate_list.rhtml
index 74d4c3c96016fbac4718169f230896854e060f13..881c0a5fb84d466a08338d25326793fa9401e18c 100644 (file)
@@ -1,7 +1,7 @@
 <% %>
 <ul id="candidate_list">
   <% @election.candidates.each do |candidate| %>
-    <% @current_candidate = candidate %>
-      <%= render :partial => 'candidate_line' %>
+      <% @current_candidate = candidate %>
+      <%= render(:partial => 'candidate_line')%>
     <% end %>
 </ul>

Benjamin Mako Hill || Want to submit a patch?