<% %>

Information On <%= @election.name %>

Election Overview

Description

<%= h(@election.description) %>

Election End Date

<%= @election.enddate %>

<%= link_to "Edit election overview.", :action => 'edit', :id => @election.id %>

Candidates

<% unless @election.candidates.empty? %> <%= render :partial => 'candidate_list' %>

<%= link_to "Add, remove, or edit candidates.", :action => 'edit_candidates', :id => @election.id %>

<% else %>

There are currently no candidates registered for this election. <%= link_to "Add some!", :action => 'edit_candidates', :id => @election.id %>

<% end %>

Voters

<% unless @election.voters.empty? %> <%= render :partial => 'voter_list' %> <% else %>

There are currently no voters registered for this election. <%= link_to "Add some!", :action => 'edit_voters', :id => @election.id %>

<% end %>