summaryrefslogtreecommitdiff
path: root/templates/games.j2
blob: b070b1601a69e1b565b9122823a1fddb6fce4641 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<table class="table is-bordered is-striped is-narrow is-hoverable is-fullwidth" id="games">
<thead>
    <th> Court </th>
    <th colspan="2"> Team 1 </th>
    <th colspan="2"> Team 2 </th>
</thead>
<tbody>
{% for game in games %}
    <tr>
        <th>{{ game.court.number }}</th>
        <td>{{ game.team1.player1.name }}</th>
        <td>{{ game.team1.player2.name }}</th>
        <td>{{ game.team2.player1.name }}</th>
        <td>{{ game.team2.player2.name }}</th>
    </tr>
{% endfor %}
</tbody>
</table>