diff options
| author | Karan Jayachandra <karan.jayachandra@nxp.com> | 2024-10-14 12:00:14 +0200 |
|---|---|---|
| committer | Karan Jayachandra <karan.jayachandra@nxp.com> | 2024-10-14 12:00:14 +0200 |
| commit | ccdf8fcb51a47b79d5a1c0042699b0d60c3c304c (patch) | |
| tree | 299da0ec9f49cad9c58ca47cac86f8922b363785 /templates/court.j2 | |
| parent | d18e5880b47fcdf6542bcb9502e8cf35a4276f05 (diff) | |
Changed the courts to dictionaries
Diffstat (limited to 'templates/court.j2')
| -rw-r--r-- | templates/court.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/court.j2 b/templates/court.j2 index 425e7d5..5eeb65a 100644 --- a/templates/court.j2 +++ b/templates/court.j2 @@ -1 +1 @@ -<button class={% if court.status %} "button is-success" {% else %} "button is-danger" {% endif %} hx-post="{{ "/court-toggle/" ~ court.number}}" hx-trigger="click" hx-swap="outerHTML">{{ court.number }}</button>
\ No newline at end of file +<button class={% if status %} "button is-success" {% else %} "button is-danger" {% endif %} hx-post="{{ "/court-toggle/" ~ id}}" hx-trigger="click" hx-swap="outerHTML">{{ id }}</button>
\ No newline at end of file |
