The following are valid options or candidates in this election:
<% @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.
<%= render :partial => 'candidates_form' %> <%= button_to "Done!", :action => 'show', :id => @election %>