diff --git a/templates/page/contact/default.html.twig b/templates/page/contact/default.html.twig index 79d12d5..492047a 100644 --- a/templates/page/contact/default.html.twig +++ b/templates/page/contact/default.html.twig @@ -10,46 +10,50 @@ {% if showForm %} -
-
-
- {{ form_label(form.name, null, {label_attr: {class: 'label'}}) }} - {{ form_widget(form.name, {attr: {class: 'input input-bordered w-full'}}) }} - {{ form_errors(form.name) }} -
-
- {{ form_label(form.email, null, {label_attr: {class: 'label'}}) }} - {{ form_widget(form.email, {attr: {class: 'input input-bordered w-full'}}) }} - {{ form_errors(form.email) }} -
-
- {{ form_label(form.subject, null, {label_attr: {class: 'label'}}) }} - {{ form_widget(form.subject, {attr: {class: 'input input-bordered w-full'}}) }} - {{ form_errors(form.subject) }} -
-
- {{ form_label(form.message, null, {label_attr: {class: 'label'}}) }} - {{ form_errors(form.message) }} - {{ form_widget(form.message, {attr: {cols: 30, rows: 10, class: 'textarea textarea-bordered w-full'}}) }} -
-
-
- {{ form_label(form.captcha, null, {label_attr: {class: 'label'}}) }} - {{ form_widget(form.captcha, {attr: {class: 'input input-bordered'}}) }} -
-
-
- -
-
- -
+
+
+
M'envoyer un message
- {{ form_rest(form) }} - +
+
+ {{ form_label(form.name, null, {label_attr: {class: 'label'}}) }} + {{ form_widget(form.name, {attr: {class: 'input input-bordered w-full'}}) }} + {{ form_errors(form.name) }} +
+
+ {{ form_label(form.email, null, {label_attr: {class: 'label'}}) }} + {{ form_widget(form.email, {attr: {class: 'input input-bordered w-full'}}) }} + {{ form_errors(form.email) }} +
+
+ {{ form_label(form.subject, null, {label_attr: {class: 'label'}}) }} + {{ form_widget(form.subject, {attr: {class: 'input input-bordered w-full'}}) }} + {{ form_errors(form.subject) }} +
+
+ {{ form_label(form.message, null, {label_attr: {class: 'label'}}) }} + {{ form_errors(form.message) }} + {{ form_widget(form.message, {attr: {cols: 30, rows: 10, class: 'textarea textarea-bordered w-full'}}) }} +
+
+
+ {{ form_label(form.captcha, null, {label_attr: {class: 'label'}}) }} + {{ form_widget(form.captcha, {attr: {class: 'input input-bordered'}}) }} +
+
+
+ +
+
+ +
+ + {{ form_rest(form) }} +
+
{% endif %} {% endblock %} diff --git a/templates/page/post/_post.html.twig b/templates/page/post/_post.html.twig index 2a7916c..aed7cdb 100644 --- a/templates/page/post/_post.html.twig +++ b/templates/page/post/_post.html.twig @@ -113,12 +113,8 @@ {% form_theme form with "form_div_layout.html.twig" %} -
+
- {% if comments|length %} -
- {% endif %} -
Ajouter un commentaire