From dc939de691d3a98176d06463c6ed47f2e6704f39 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Tue, 14 Oct 2025 17:06:28 +0200 Subject: [PATCH] Remove sent parameter replaced by a notice --- templates/form/contact.html.twig | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/templates/form/contact.html.twig b/templates/form/contact.html.twig index ba33240..c67c919 100644 --- a/templates/form/contact.html.twig +++ b/templates/form/contact.html.twig @@ -6,26 +6,22 @@

{{ description }}

- {% if sent is defined and sent %} -

{% trans %}Your message has been sent{% endtrans %}

- {% else %} - {{ form_start(contact) }} - {{ form_row(contact.subject) }} + {{ form_start(contact) }} + {{ form_row(contact.subject) }} - {{ form_row(contact.name) }} + {{ form_row(contact.name) }} - {{ form_row(contact.mail) }} + {{ form_row(contact.mail) }} - {{ form_row(contact.message) }} + {{ form_row(contact.message) }} - {{ form_row(contact.captcha) }} + {{ form_row(contact.captcha) }} - {{ form_row(contact.submit) }} + {{ form_row(contact.submit) }} - {# Render CSRF token etc .#} -
{{ form_rest(contact) }}
- {{ form_end(contact) }} - {% endif %} + {# Render CSRF token etc .#} +
{{ form_rest(contact) }}
+ {{ form_end(contact) }}
{% endblock %} -- 2.41.3