]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/views/form/contact.html.twig
Add default values to class member variables
[airbundle] / Resources / views / form / contact.html.twig
index ee75ed07b5cb773ff1e602080787d58f1104fe56..dfc46be39553fa480acaac4c9bdfc293a842e2c5 100644 (file)
@@ -1,9 +1,8 @@
-{% extends '@RapsysAir/body.html.twig' %}
+{% extends '@RapsysAir/base.html.twig' %}
 {% block content %}
 {% block content %}
-       <section id="form">
+       <article>
                <header>
                <header>
-                       <h2><a href="{{ path('rapsys_air_contact') }}">{{ section }}</a></h2>
-                       <p>{{ description }}</p>
+                       <h2>{{ description }}</h2>
                </header>
                {% if sent %}
                        <p class="message notice">{% trans %}Your message has been sent{% endtrans %}</p>
                </header>
                {% if sent %}
                        <p class="message notice">{% trans %}Your message has been sent{% endtrans %}</p>
@@ -18,6 +17,8 @@
 
                                        {{ form_row(form.message) }}
 
 
                                        {{ form_row(form.message) }}
 
+                                       {{ form_row(form.captcha) }}
+
                                        {{ form_row(form.submit) }}
                                </div>
 
                                        {{ form_row(form.submit) }}
                                </div>
 
@@ -25,5 +26,5 @@
                                <footer style="display:none">{{ form_rest(form) }}</footer>
                        {{ form_end(form) }}
                {% endif %}
                                <footer style="display:none">{{ form_rest(form) }}</footer>
                        {{ form_end(form) }}
                {% endif %}
-       </section>
+       </article>
 {% endblock %}
 {% endblock %}