{% extends '@RapsysAir/body.html.twig' %} {% block content %} {{ section }} {% if sent %} {% trans %}Your message has been sent{% endtrans %} {% else %} {{ form_start(form) }} {{ form_row(form.subject) }} {{ form_row(form.name) }} {{ form_row(form.mail) }} {{ form_row(form.message) }} {{ form_row(form.submit) }} {# Render CSRF token etc .#} {{ form_end(form) }} {% endif %} {% endblock %}
{% trans %}Your message has been sent{% endtrans %}