2 <h1><strong><%= @election.name %>:</strong> Edit Candidates</h1>
4 <p>The following are valid options or candidates in this election:</p>
7 <% @election.candidates.each do |candidate| %>
8 <% @candidate = candidate %>
9 <%= render :partial => 'candidate_line' %>
13 <%= render :partial => 'candidates_form' %>
14 <%= button_to "Done!", :action => 'show', :id => @election %>