<%= @event.full_title %>

<%= @event.teams.count %> Teams

<% @event.teams.each do |team| %> <% if team.national? %> <% else %> <% end %> <% end %>
<%= image_tag "flags/32x32/#{team.country.key}.png" %> <%= link_to team.title, short_team_path( team ) %> <%= "(#{team.code})" if team.code.present? %> > <%= team.country.continent.title if team.country.continent.present? %>
<%= link_to team.title, short_team_path( team ) %> <%= "(#{team.code})" if team.code.present? %> <%= team.title2 if team.title2.present? %> <%= render_team_world_tree( team ) %>
<% if @event.groups.count > 0 %>

<%= @event.groups.count %> Groups

<% @event.groups.each_with_index do |group,i| %> <% if i > 0 %> • <% end %> <%= group.title %> <% end %>

<% @event.groups.each do |group| %> <% group.teams.each do |team| %> <% end %> <% end %>
<%= group.title %> | <% if team.national? %> <%= image_tag "flags/32x32/#{team.country.key}.png" %> <% end %> <%= link_to team.title, short_team_path( team ) %>
<% end %>

<%= @event.games.count %> Games

<% @event.rounds.each_with_index do |round,i| %> <% if i > 0 %> • <% end %> <%= round.title %> <% end %>

<% @event.rounds.each do |round| %> <% round.games.each do |game| %> <%= render_game_date( game ) %> <%= render_game_team1( game ) %> <%= render_game_score( game ) %> <%= render_game_team2( game ) %> <%= render_game_flags( game ) %> <% end %> <% end %>
<%= round.title %> <%= "/ #{round.title2}" if round.title2.present? %>
<%= "(#{game.group.title})" if game.group.present? %>