X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/f110b8ba20232e0ceeb67390f8e672431868d32d..7c562ee58c5ac4f829426cf9909a9e214f1e7c11:/Resources/views/form/contact.html.twig diff --git a/Resources/views/form/contact.html.twig b/Resources/views/form/contact.html.twig index b75b91b..fb41195 100644 --- a/Resources/views/form/contact.html.twig +++ b/Resources/views/form/contact.html.twig @@ -1,34 +1,26 @@ -{% extends '@RapsysAir/base.html.twig' %} +{% extends '@RapsysAir/body.html.twig' %} {% block content %}

{{ section }}

{% 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 %}