]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/views/form/contact.html.twig
Rename section to page.title
[airbundle] / Resources / views / form / contact.html.twig
index fb41195d029a2c868b3a259e883ba96a52678256..783bc6e56e64f01f82fc469f8497ca95a4a5a99f 100644 (file)
@@ -1,7 +1,10 @@
 {% extends '@RapsysAir/body.html.twig' %}
 {% block content %}
        <section id="form">
-               <h2><a href="{{ path('rapsys_air_contact') }}">{{ section }}</a></h2>
+               <header>
+                       <h2><a href="{{ path('rapsys_air_contact') }}">{{ page.title }}</a></h2>
+                       <p>{{ page.description }}</p>
+               </header>
                {% if sent %}
                        <p class="message notice">{% trans %}Your message has been sent{% endtrans %}</p>
                {% else %}