-<h1>Edit/Add Candidates</h1>
+<h2>Edit/Add Candidates</h2>
<%= error_messages_for :candidate %>
<% unless @election.candidates.empty? %>
<p>The following are valid options or candidates in this election:</p>
+1;3A
<% @election.candidates.each do |candidate| %>
<% @current_candidate = candidate %>
<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 %>
+<%= button_to "Done!", :action => 'new_voters', :id => @election %>