From 66eb392151ba07bf31749c32975e24431b05b43b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fromme?= Date: Tue, 11 Nov 2025 15:45:14 +0100 Subject: [PATCH] fix: check field existence before rendering --- templates/booking/edit.html.twig | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/templates/booking/edit.html.twig b/templates/booking/edit.html.twig index aa780fb..995553f 100644 --- a/templates/booking/edit.html.twig +++ b/templates/booking/edit.html.twig @@ -217,9 +217,11 @@ {% endif %} {% endif %} -
- {{ form_row(child.parking) }} -
+ {% if child.parking is defined %} +
+ {{ form_row(child.parking) }} +
+ {% endif %} {% if not travelData.additionalServicesMutable %}