From: Raphaƫl Gertz Date: Tue, 4 Oct 2022 05:30:11 +0000 (+0200) Subject: Add cities and city location tempaltes X-Git-Tag: 0.3.0~237 X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/airbundle/commitdiff_plain/53b0072e189e79e57d31f02e9e4ef00ae53511ff?ds=inline Add cities and city location tempaltes --- diff --git a/Resources/views/location/cities.html.twig b/Resources/views/location/cities.html.twig new file mode 100644 index 0000000..54e8690 --- /dev/null +++ b/Resources/views/location/cities.html.twig @@ -0,0 +1,40 @@ +{% extends '@RapsysAir/body.html.twig' %} +{% block content %} +
+
+

{{ title }}

+

{{ description }}

+
+
+ {% if cities is defined and cities %} +
+ {% for id, city in cities %} + + {% endfor %} +
+ {% endif %} + {{ include('@RapsysAir/form/_toolbox.html.twig') }} +
+
+{% endblock %} diff --git a/Resources/views/location/city.html.twig b/Resources/views/location/city.html.twig new file mode 100644 index 0000000..d187053 --- /dev/null +++ b/Resources/views/location/city.html.twig @@ -0,0 +1,45 @@ +{% extends '@RapsysAir/body.html.twig' %} +{% block content %} +
+
+

{{ title }}

+

{{ description }}

+
+ +
+ {{ include('@RapsysAir/default/_location.html.twig') }} +{% endblock %}