% %>
<%= link_to election.name, :action => 'show', :id => election %>Description: <%= election.description %> Election Information:
|
Candidates: <% @election = election %><%= render :partial => 'candidate_list', :id => election.id %> |
<%= link_to 'Destroy', { :action => 'destroy', :id => election }, :confirm => 'Are you sure?' %> |