From d45c73cac94bf3de3c7af1be2bfd25972a67b31f Mon Sep 17 00:00:00 2001 From: philipp Date: Thu, 8 Jun 2023 15:00:15 +0200 Subject: [PATCH] show proper state of checkbox --- templates/index.html.tera | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/index.html.tera b/templates/index.html.tera index f6f4250..d312a28 100644 --- a/templates/index.html.tera +++ b/templates/index.html.tera @@ -130,7 +130,7 @@ {{ macros::input(label='Anzahl Ruderer', name='max_people', type='number', required=true, value=planned_event.max_people, min='0') }} {{ macros::input(label='Anzahl Steuerleute', name='planned_amount_cox', type='number', value=planned_event.planned_amount_cox, required=true, min='0') }} - {{ macros::checkbox(label='Immer anzeigen', name='always_show') }} + {{ macros::checkbox(label='Immer anzeigen', name='always_show', checked=planned_event.always_show) }} {{ macros::input(label='Anmerkungen', name='notes', type='input', value=planned_event.notes) }}