X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/0dce2e10596c1763fa2a802b71c750013deb9e85..dcb6c015eb0c1550c980a0ef7ba220c68491222b:/Resources/views/form/contact.html.twig?ds=inline diff --git a/Resources/views/form/contact.html.twig b/Resources/views/form/contact.html.twig index cdf7250..783bc6e 100644 --- a/Resources/views/form/contact.html.twig +++ b/Resources/views/form/contact.html.twig @@ -1,34 +1,29 @@ {% extends '@RapsysAir/body.html.twig' %} {% block content %}
-

{{ section }}

+
+

{{ page.title }}

+

{{ page.description }}

+
{% if sent %} -

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

+

{% 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.mail) }} - - {{ form_row(form.message) }} -
+ {{ form_row(form.message) }} {{ form_row(form.submit) }} +
- {# Render CSRF token etc .#} -
- {{ form_rest(form) }} -
- - {{ form_end(form) }} -
+ {# Render CSRF token etc .#} + + {{ form_end(form) }} {% endif %}
{% endblock %}