From f09454fb38cd5b81c68bf474ee3fdab4361f790c Mon Sep 17 00:00:00 2001 From: philipp Date: Sat, 22 Jul 2023 18:24:48 +0200 Subject: [PATCH] fix bug, forgot to use new data field --- 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 10b817a..95c712e 100644 --- a/templates/index.html.tera +++ b/templates/index.html.tera @@ -210,7 +210,7 @@
{{ macros::input(label='Anzahl Ruderer', name='max_people', type='number', required=true, value=trip.max_people, min='0') }} {{ macros::input(label='Anmerkungen', name='notes', type='input', value=trip.notes) }} - {{ macros::select(select_name='trip_type', trip_types=trip_types, default='Reguläre Ausfahrt', selected_id=trip.trip_type_id) }} + {{ macros::select(select_name='trip_type', data=trip_types, default='Reguläre Ausfahrt', selected_id=trip.trip_type_id) }}