From 81e73b73963d8beb8f17e8e9681d23b8bbc036f7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Wed, 24 Feb 2021 01:45:09 +0100 Subject: [PATCH] Add location form template --- Resources/views/form/_location.html.twig | 27 ++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Resources/views/form/_location.html.twig diff --git a/Resources/views/form/_location.html.twig b/Resources/views/form/_location.html.twig new file mode 100644 index 0000000..284c2e8 --- /dev/null +++ b/Resources/views/form/_location.html.twig @@ -0,0 +1,27 @@ +
+

{% trans %}Modify{% endtrans %}

+ {{ form_start(forms.location) }} +
+ {{ form_row(forms.location.title) }} + + {{ form_row(forms.location.short) }} + + {{ form_row(forms.location.address) }} + + {{ form_row(forms.location.zipcode) }} + + {{ form_row(forms.location.city) }} + + {{ form_row(forms.location.latitude) }} + + {{ form_row(forms.location.longitude) }} + + {{ form_row(forms.location.hotspot) }} + + {{ form_row(forms.location.submit) }} +
+ + {# render csrf token etc .#} + + {{ form_end(forms.location) }} +
-- 2.41.0