From 84addc7e57221e36f8b41662bbbd3ef50aeaa0db Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Thu, 13 Oct 2022 15:04:22 +0200 Subject: [PATCH 1/1] New layout with header Drop slug member Add zip, city and country members --- Resources/views/form/edit.html.twig | 28 ++++++++++++++++++++-------- 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/Resources/views/form/edit.html.twig b/Resources/views/form/edit.html.twig index 2f7286a..8c6aab9 100644 --- a/Resources/views/form/edit.html.twig +++ b/Resources/views/form/edit.html.twig @@ -1,8 +1,10 @@ {% extends '@RapsysAir/body.html.twig' %} {% block title %}{{ site.title }} - {{ title }}{% endblock %} {% block content %} -
-

{{ title }}

+
+
+

{{ title }}

+
{{ form_start(edit) }}
{% if edit.mail is defined %} @@ -25,8 +27,16 @@ {{ form_row(edit.pseudonym) }} {% endif %} - {% if edit.slug is defined %} - {{ form_row(edit.slug) }} + {% if edit.zipcode is defined %} + {{ form_row(edit.zipcode) }} + {% endif %} + + {% if edit.city is defined %} + {{ form_row(edit.city) }} + {% endif %} + + {% if edit.country is defined %} + {{ form_row(edit.country) }} {% endif %} {% if edit.phone is defined %} @@ -39,10 +49,12 @@ {# Render CSRF token etc .#}
{{ form_rest(edit) }}
{{ form_end(edit) }} -
+ {% if reset is defined %} -
-

{{ password }}

+
+
+

{{ password }}

+
{{ form_start(reset) }}
{% if reset.password is defined %} @@ -57,6 +69,6 @@ {# Render CSRF token etc .#} {{ form_end(reset) }} -
+ {% endif %} {% endblock %} -- 2.41.1