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