X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/airbundle/blobdiff_plain/653cfc153b29c84533b00d29a92510339c6358ca..a32d2b6c39a7019077bf5dc02325802dfc83d944:/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..fb41195 100644 --- a/Resources/views/form/contact.html.twig +++ b/Resources/views/form/contact.html.twig @@ -3,32 +3,24 @@

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