Rapsys Git
/
airbundle
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add calendar command
[airbundle]
/
Resources
/
views
/
form
/
contact.html.twig
diff --git
a/Resources/views/form/contact.html.twig
b/Resources/views/form/contact.html.twig
index fb41195d029a2c868b3a259e883ba96a52678256..da53d04bd8af61e39fbe8c9c5861753aae8f2e20 100644
(file)
--- a/
Resources/views/form/contact.html.twig
+++ b/
Resources/views/form/contact.html.twig
@@
-1,7
+1,9
@@
{% extends '@RapsysAir/body.html.twig' %}
{% block content %}
{% extends '@RapsysAir/body.html.twig' %}
{% block content %}
- <section id="form">
- <h2><a href="{{ path('rapsys_air_contact') }}">{{ section }}</a></h2>
+ <article>
+ <header>
+ <h2>{{ description }}</h2>
+ </header>
{% if sent %}
<p class="message notice">{% trans %}Your message has been sent{% endtrans %}</p>
{% else %}
{% if sent %}
<p class="message notice">{% trans %}Your message has been sent{% endtrans %}</p>
{% else %}
@@
-15,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>
@@
-22,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 %}