@model.tables.map{ table =>
  1. @table.competition.fullName @if(!table.multiGroup) { @fragments.tableColumnHeaders() } @table.groups.map{ group => @if(table.multiGroup) { @group.round.map { round => @round.name.map { name => @* we repeat this nav for group tables *@ @fragments.tableColumnHeaders() } } } @group.entries.zipWithRowInfo.map{ case (entry, row) => @fragments.tableRow(entry, row) } }
    @name
    @if(!model.singleCompetition) { View full @table.competition.fullName table }
  2. }