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