aboutsummaryrefslogtreecommitdiff
path: root/templates/games.j2
diff options
context:
space:
mode:
authorKaran Jayachandra <karan.jayachandra@nxp.com>2024-10-16 11:08:15 +0200
committerKaran Jayachandra <karan.jayachandra@nxp.com>2024-10-16 11:08:15 +0200
commitd304a470e5a9fae6fc0c8975f050cb7aa290f74a (patch)
tree2918384d92c63e6bbe3d3fa642317fa1ab96ac07 /templates/games.j2
parent600b6afff3066d5fc9c4eca659f969322e670a77 (diff)
First working version with history
Diffstat (limited to 'templates/games.j2')
-rw-r--r--templates/games.j26
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/games.j2 b/templates/games.j2
index 55cabf4..50e1087 100644
--- a/templates/games.j2
+++ b/templates/games.j2
@@ -3,14 +3,14 @@
<th colspan="5" align="center"> {{ title }} </th>
</thead>
<thead>
- <th> Court </th>
+ <th align="center"> Court </th>
<th colspan="2" align="center"> Team 1 </th>
<th colspan="2" align="center"> Team 2 </th>
</thead>
<tbody>
-{% for _, game in games.items() %}
+{% for game in games %}
<tr>
- <th>{{ game.court }}</th>
+ <th align="center">{{ game.court }}</th>
<td>{{ game.team1.player1 }}</th>
<td>{{ game.team1.player2 }}</th>
<td>{{ game.team2.player1 }}</th>