<%= @event.full_title %>

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

<% @event.teams.each do |team| %> <% end %>
<%= logo_for_team( team ) %> <%= link_to_team( team ) %> <%= "(#{team.code})" if team.code.present? %> <%= team.title2 if team.title2.present? %> <%= render_team_world_tree( team ) %>
<% if defined?( SportDb::Market ) %>

<%= render_event_quotes( @event ) %>

<% end %> <% 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 %> | <%= logo_for_team( team ) %> <%= link_to_team( 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 ) %> <% if defined?( SportDb::Market ) %> <% end %> <%= render_game_flags( game ) %> <% end %> <% end %>
<%= round.title %> <%= "/ #{round.title2}" if round.title2.present? %>
<%= render_game_quotes( game ) %> <%= "(#{game.group.title})" if game.group.present? %>