]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/views/form/contact.html.twig
Remove X-Robot: noindex header
[airbundle] / Resources / views / form / contact.html.twig
1 {% extends '@RapsysAir/body.html.twig' %}
2 {% block content %}
3 <section id="form">
4 <h2><a href="{{ path('rapsys_air_contact') }}">{{ section }}</a></h2>
5 {% if sent %}
6 <p>{% trans %}Your message has been sent{% endtrans %}</p>
7 {% else %}
8 <div>
9 {{ form_start(form) }}
10
11 <header>{{ form_errors(form) }}</header>
12
13 <section>
14 {{ form_row(form.subject) }}
15
16 {{ form_row(form.name) }}
17
18 {{ form_row(form.mail) }}
19
20 {{ form_row(form.message) }}
21 </section>
22
23 {{ form_row(form.submit) }}
24
25 {# Render CSRF token etc .#}
26 <footer style="display:none">
27 {{ form_rest(form) }}
28 </footer>
29
30 {{ form_end(form) }}
31 </div>
32 {% endif %}
33 </section>
34 {% endblock %}