From: Raphaƫl Gertz Date: Thu, 13 Oct 2022 13:04:22 +0000 (+0200) Subject: New layout with header X-Git-Tag: 0.3.0~186 X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/airbundle/commitdiff_plain/84addc7e57221e36f8b41662bbbd3ef50aeaa0db?hp=d9c2a619a32f59318eecfa68bc3cf8b9aa0191e1 New layout with header Drop slug member Add zip, city and country members --- 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 %}