diff options
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 859c942..d7aec86 100644 --- a/templates/court.j2 +++ b/templates/court.j2 @@ -1 +1 @@ -<button class={% if status %} "button is-success is-large" {% else %} "button is-danger is-large" {% endif %} hx-post="{{ "/court-toggle/" ~ id}}" hx-trigger="click" hx-swap="outerHTML">{{ id }}</button>
\ No newline at end of file +{% from "macros.j2" import court %}{{ court(key, value) }}
\ No newline at end of file |
