<% if @current_elections.length < 1 %>

You have not created any elections.

<% else %> <% end %>

<%= link_to "Create a new election", :controller => 'election', :action => 'new' %>.