From: Raphaƫl Gertz Date: Wed, 24 Feb 2021 00:45:09 +0000 (+0100) Subject: Add location form template X-Git-Tag: 0.2.1~6 X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/airbundle/commitdiff_plain/a98b3e9f009549315bd0633af00c5faffa1bfb1f?hp=673aa7abcb3bd344ffcadee5b29f8cfc6c21be04 Add location form template --- 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) }} +