summaryrefslogtreecommitdiff
path: root/templates/courts.j2
diff options
context:
space:
mode:
Diffstat (limited to 'templates/courts.j2')
-rw-r--r--templates/courts.j25
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/courts.j2 b/templates/courts.j2
index 4e3cb3a..5dc64f9 100644
--- a/templates/courts.j2
+++ b/templates/courts.j2
@@ -2,7 +2,10 @@
<div class="grid">
{% for key, value in courts.items() %}
<div class="cell">
- <button class={% if value %} "button is-success" {% else %} "button is-danger" {% endif %} hx-post="{{ "/court-toggle/" ~ key}}" hx-trigger="click" hx-swap="outerHTML">{{ key }}</button>
+ <button class={% if value %} "button is-success" {% else %} "button is-danger" {% endif %}
+ hx-post="{{ "/court-toggle/" ~ key}}"
+ hx-trigger="click"
+ hx-swap="outerHTML">{{ key }}</button>
</div>
{% endfor %}
</div>