<% @contests.each do |contest| %> <% next if contest.matches.finished.count == 0 %>

<%= namelink contest %>

<%= longdate contest.start %> - <%= longdate contest.end %>
<% if contest.contest_type == Contest::TYPE_BRACKET %> <%= render :partial => "bracket", :locals => {:contest => contest} %> <% else %> <%= render :partial => "contesters/list", :locals => {:contesters => contest.contesters.active.ordered, :actions => false} %> <% end %>

<% end %>