% @edit = true %>
<%= @election.name %>: Edit Candidates
The following are valid options or candidates in this election:
<% @election.candidates.each do |candidate| %>
<% @candidate = candidate %>
<%= render :partial => 'candidate_line' %>
<% end %>
<%= render :partial => 'candidates_form' %>
<%= button_to "Done!", :action => 'show', :id => @election %>