<p>Please enter new candidates below.</p>
-<%= form_tag( { :action => :add_candidate, :id => @election.id },
- :multipart => true ) %>
+<% form_tag( { :action => :add_candidate, :id => @election.id },
+ :multipart => true ) do %>
<%= render :partial => 'candidate_form' %>
<%= submit_tag "Add Candidate" %>
-<%= end_form_tag %>
+<% end %>
<%= button_to "Done!", :action => 'show', :id => @election %>