-<% %>
-
-<h2>Activity Summary</h2>
-
<% if @current_elections.length < 1 %>
<em>You have not created any elections.</em>
<% else %>
<ul>
<% for election in @current_elections %>
- <li><%= election.name %> (ends <em><%= election.enddate %></em>)</li>
+ <li><%= link_to election.name, :controller => 'election', :action => 'show', :id => election.id %> (ends in <em><%=
+ distance_of_time_in_words Time.now, election.enddate %></em>)</li>
<% end %>
</ul>
<% end %>