]> Raphaël G. Git Repositories - airbundle/commitdiff
Remove user edit form
authorRaphaël Gertz <git@rapsys.eu>
Thu, 13 Oct 2022 13:01:49 +0000 (15:01 +0200)
committerRaphaël Gertz <git@rapsys.eu>
Thu, 13 Oct 2022 13:01:49 +0000 (15:01 +0200)
Resources/views/user/edit.html.twig [deleted file]

diff --git a/Resources/views/user/edit.html.twig b/Resources/views/user/edit.html.twig
deleted file mode 100644 (file)
index 18637f9..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-{% extends '@RapsysAir/body.html.twig' %}
-{% block content %}
-       <section id="form">
-               <h2>{{ section }}</h2>
-               {{ form_start(form) }}
-                       <div>
-                               {% if form.mail is defined %}
-                                       {{ form_row(form.mail) }}
-                               {% endif %}
-
-                               {% if form.civility is defined %}
-                                       {{ form_row(form.civility) }}
-                               {% endif %}
-
-                               {% if form.forename is defined %}
-                                       {{ form_row(form.forename) }}
-                               {% endif %}
-
-                               {% if form.surname is defined %}
-                                       {{ form_row(form.surname) }}
-                               {% endif %}
-
-                               {% if form.pseudonym is defined %}
-                                       {{ form_row(form.pseudonym) }}
-                               {% endif %}
-
-                               {% if form.slug is defined %}
-                                       {{ form_row(form.slug) }}
-                               {% endif %}
-
-                               {% if form.phone is defined %}
-                                       {{ form_row(form.phone) }}
-                               {% endif %}
-
-                               {{ form_row(form.submit) }}
-                       </div>
-
-                       {# render csrf token etc .#}
-                       <footer style="display:none">{{ form_rest(form) }}</footer>
-               {{ form_end(form) }}
-       </section>
-{% endblock %}