% %>
Activity Summary
<% if @current_elections.length < 1 %>
You have not created any elections.
<% else %>
<% for election in @current_elections %>
- <%= election.name %> (ends <%= election.enddate %>)
<% end %>
<% end %>
<%= link_to "Create a new election", :controller => 'election', :action => 'new' %>