Current Contests

<% @contests.each do |contest| %> <% if contest.contest_type == Contest::TYPE_BRACKET %>

<%= link_to contest.name, contest %>

<%= render :partial => "bracket", :locals => {:contest => contest} %> <% else %>

<%= link_to contest.name, contest %>

<%= render :partial => "contesters/list", :locals => {:contesters => contest.contesters.active.ordered, :actions => true} %> <% end %> <% end %>