diff options
| author | Karan Jayachandra <karan.jayachandra@nxp.com> | 2024-10-11 16:59:45 +0200 |
|---|---|---|
| committer | Karan Jayachandra <karan.jayachandra@nxp.com> | 2024-10-11 16:59:45 +0200 |
| commit | 0db0ff2f1c712273ac48cb859c24253b1efa8384 (patch) | |
| tree | b92c4bd847ca94ad5cdf5a0b85576328484ff061 /templates/court.j2 | |
| parent | 39a01979a470e836da1128503e4587cb76eeae33 (diff) | |
First working version with court selection
Diffstat (limited to 'templates/court.j2')
| -rw-r--r-- | templates/court.j2 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/court.j2 b/templates/court.j2 new file mode 100644 index 0000000..6ae4d91 --- /dev/null +++ b/templates/court.j2 @@ -0,0 +1 @@ +<button class={% if court.status %} "active" {% else %} "dormant" {% endif %} hx-post="{{ "/court-toggle/" ~ court.number}}" hx-trigger="click" hx-swap="outerHTML">{{ court.number }}</button>
\ No newline at end of file |
