%= render_partial 'progress', 'candidates' %>
The following are valid options or candidates in this election:
1;3A <% @election.candidates.each do |candidate| %> <% @current_candidate = candidate %> <%= render :partial => 'candidate_line_edit' %> <% end %> <% else %>There are no candidates registered for this election.
<% end %>Please enter new candidates below.
<% form_tag( { :action => :add_candidate, :id => @election.id }, :multipart => true ) do %> <%= render :partial => 'candidate_form' %> <%= submit_tag "Add Candidate" %> <% end %> <%= button_to "Done!", :action => 'new_voters', :id => @election %>