From 53b0072e189e79e57d31f02e9e4ef00ae53511ff Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Tue, 4 Oct 2022 07:30:11 +0200 Subject: [PATCH] Add cities and city location tempaltes --- Resources/views/location/cities.html.twig | 40 ++++++++++++++++++++ Resources/views/location/city.html.twig | 45 +++++++++++++++++++++++ 2 files changed, 85 insertions(+) create mode 100644 Resources/views/location/cities.html.twig create mode 100644 Resources/views/location/city.html.twig 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 %} -- 2.41.1