]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/views/form/contact.html.twig
Add class, contact, donate, link and profile fields
[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 class="message notice">{% trans %}Your message has been sent{% endtrans %}</p>
7 {% else %}
8 {{ form_start(form) }}
9 <div>
10 {{ form_row(form.subject) }}
11
12 {{ form_row(form.name) }}
13
14 {{ form_row(form.mail) }}
15
16 {{ form_row(form.message) }}
17
18 {{ form_row(form.submit) }}
19 </div>
20
21 {# Render CSRF token etc .#}
22 <footer style="display:none">{{ form_rest(form) }}</footer>
23 {{ form_end(form) }}
24 {% endif %}
25 </section>
26 {% endblock %}