<%= link_to (h @contester.team.name), team_url(@contester.team, team: 'matches', anchor: "contest_#{@contester.contest.id}") %>

<% if @contester.team.logo %> <% end %>

<%= namelink @contester.contest %>

<%= render partial: 'matches/list', locals: { matches: @results, friendly: @contester.team, contest: false } %>

Upcoming

<% @matches.each do |match| %> <% match.friendly = @contester.team %> <% end %>
Opponent Date Maps Server
<%= namelink match.get_opponent %> <%= link_to shorttime(match.match_time), match %> <%= namelink match.map1 %>, <%= namelink match.map2 %> <%= namelink match.server %>

Rank

<%= cascade @contester, ["total", "win", "loss", "draw"] %> <% if !@contester.active %>

INACTIVE

<% end %>

Members

<%= render partial: 'teamers/list', locals: { teamers: @members, blacklist: nil, comment: false } %>
<% if @contester.can_update? cuser %> <%= link_to 'Edit', edit_contester_path(@contester), class: 'button' %> <% end %>