Rapsys Git
/
airbundle
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add organizer index template
[airbundle]
/
Resources
/
views
/
form
/
contact.html.twig
diff --git
a/Resources/views/form/contact.html.twig
b/Resources/views/form/contact.html.twig
index cdf72508d57d99a12d4e476c2ac6f0a33135222e..fb41195d029a2c868b3a259e883ba96a52678256 100644
(file)
--- a/
Resources/views/form/contact.html.twig
+++ b/
Resources/views/form/contact.html.twig
@@
-3,32
+3,24
@@
<section id="form">
<h2><a href="{{ path('rapsys_air_contact') }}">{{ section }}</a></h2>
{% if sent %}
<section id="form">
<h2><a href="{{ path('rapsys_air_contact') }}">{{ section }}</a></h2>
{% if sent %}
- <p>{% trans %}Your message has been sent{% endtrans %}</p>
+ <p
class="message notice"
>{% trans %}Your message has been sent{% endtrans %}</p>
{% else %}
{% else %}
- <div>
- {{ form_start(form) }}
+ {{ form_start(form) }}
+ <div>
+ {{ form_row(form.subject) }}
- <header>{{ form_errors(form) }}</header>
+ {{ form_row(form.name) }}
- <section>
- {{ form_row(form.subject) }}
+ {{ form_row(form.mail) }}
- {{ form_row(form.name) }}
-
- {{ form_row(form.mail) }}
-
- {{ form_row(form.message) }}
- </section>
+ {{ form_row(form.message) }}
{{ form_row(form.submit) }}
{{ form_row(form.submit) }}
+ </div>
- {# Render CSRF token etc .#}
- <footer style="display:none">
- {{ form_rest(form) }}
- </footer>
-
- {{ form_end(form) }}
- </div>
+ {# Render CSRF token etc .#}
+ <footer style="display:none">{{ form_rest(form) }}</footer>
+ {{ form_end(form) }}
{% endif %}
</section>
{% endblock %}
{% endif %}
</section>
{% endblock %}