X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/3ee5f0ad39ff6ff6c196da3678ece94ec2817d45..2de9e441eb89a3d4d8fa4384b2092c94519fcaea:/Resources/views/form/contact.html.twig?ds=sidebyside diff --git a/Resources/views/form/contact.html.twig b/Resources/views/form/contact.html.twig index 957eb1a..da53d04 100644 --- a/Resources/views/form/contact.html.twig +++ b/Resources/views/form/contact.html.twig @@ -1,34 +1,30 @@ {% extends '@RapsysAir/body.html.twig' %} {% block content %} -
-

{{ section }}

+
+
+

{{ description }}

+
{% if sent %}

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

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