From 6d2fa87083ccba5b52c4c4fd9bec5adaf1569ad7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Wed, 23 Feb 2022 15:28:46 +0100 Subject: [PATCH] allow to show customized form for address --- .../ChillPersonBundle/Resources/views/Address/edit.html.twig | 4 ++++ .../ChillPersonBundle/Resources/views/Address/new.html.twig | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/Bundle/ChillPersonBundle/Resources/views/Address/edit.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/Address/edit.html.twig index 55f07efcf..043b9c8fb 100644 --- a/src/Bundle/ChillPersonBundle/Resources/views/Address/edit.html.twig +++ b/src/Bundle/ChillPersonBundle/Resources/views/Address/edit.html.twig @@ -31,6 +31,10 @@ {{ form_row(form.streetAddress2) }} {{ form_row(form.postCode) }} {{ form_row(form.validFrom) }} + + {% if form.customs is defined %} + {{ form_widget(form.customs) }} + {% endif %}