diff --git a/src/Bundle/ChillEventBundle/Resources/views/Event/listByPerson.html.twig b/src/Bundle/ChillEventBundle/Resources/views/Event/listByPerson.html.twig
index 36ef66af3..e9f9a0270 100644
--- a/src/Bundle/ChillEventBundle/Resources/views/Event/listByPerson.html.twig
+++ b/src/Bundle/ChillEventBundle/Resources/views/Event/listByPerson.html.twig
@@ -108,8 +108,6 @@
{{ chill_pagination(paginator) }}
{% endif %}
-{% form_theme form_add_event_participation_by_person 'bootstrap_4_layout.html.twig' %}
-
{{ form_start(form_add_event_participation_by_person) }}
{#
@@ -137,4 +135,4 @@
-{% endblock %}
\ No newline at end of file
+{% endblock %}
diff --git a/src/Bundle/ChillEventBundle/Resources/views/Participation/new-multiple.html.twig b/src/Bundle/ChillEventBundle/Resources/views/Participation/new-multiple.html.twig
index 2e7dd6cdb..a0551ff1a 100644
--- a/src/Bundle/ChillEventBundle/Resources/views/Participation/new-multiple.html.twig
+++ b/src/Bundle/ChillEventBundle/Resources/views/Participation/new-multiple.html.twig
@@ -3,9 +3,7 @@
{% import 'ChillPersonBundle:Person:macro.html.twig' as person_macro %}
{% block title 'Participation creation'|trans %}
-
- {% form_theme form _self %}
-
+
{% block _collection_row %}
@@ -28,10 +26,10 @@
|
-
+
{% include 'ChillEventBundle:Participation:_ignored_participations.html.twig' with ignored_participations %}
-
- {{ form_start(form) }}
+
+ {{ form_start(form) }}
@@ -47,10 +45,10 @@
{{ form_widget(participationField.role) }} |
{{ form_widget(participationField.status) }} |
- {% endfor %}
+ {% endfor %}
-
+
-
+
{{ form_end(form) }}
-
+
{% endblock %}
diff --git a/src/Bundle/ChillMainBundle/Resources/views/Form/bootstrap5/bootstrap_5_horizontal_layout.html.twig b/src/Bundle/ChillMainBundle/Resources/views/Form/bootstrap5/bootstrap_5_horizontal_layout.html.twig
index f38c94ef3..e0c43629e 100644
--- a/src/Bundle/ChillMainBundle/Resources/views/Form/bootstrap5/bootstrap_5_horizontal_layout.html.twig
+++ b/src/Bundle/ChillMainBundle/Resources/views/Form/bootstrap5/bootstrap_5_horizontal_layout.html.twig
@@ -60,14 +60,22 @@
{{- form_errors(form) -}}
{%- else -%}
- {{- form_label(form) -}}
-
- {{- form_widget(form, widget_attr) -}}
- {{- form_help(form) -}}
- {{- form_errors(form) -}}
-
+ {% if form.vars.hideLabel is not defined or form.vars.hideLabel == false %}
+ {{- form_label(form) -}}
+
+ {{- form_widget(form, widget_attr) -}}
+ {{- form_help(form) -}}
+ {{- form_errors(form) -}}
+
+ {% else %}
+
+ {{- form_widget(form, widget_attr) -}}
+ {{- form_help(form) -}}
+ {{- form_errors(form) -}}
+
+ {% endif %}
{%- endif -%}
- {##}
+
{%- endif -%}
{%- endblock form_row %}
diff --git a/src/Bundle/ChillMainBundle/Resources/views/Form/fields.html.twig b/src/Bundle/ChillMainBundle/Resources/views/Form/fields.html.twig
index 9cc35966a..90729c22d 100644
--- a/src/Bundle/ChillMainBundle/Resources/views/Form/fields.html.twig
+++ b/src/Bundle/ChillMainBundle/Resources/views/Form/fields.html.twig
@@ -1,5 +1,5 @@
{#
- * Copyright (C) 2014-2015, Champs Libres Cooperative SCRLFS,
+ * Copyright (C) 2014-2015, Champs Libres Cooperative SCRLFS,
/
*
* This program is free software: you can redistribute it and/or modify
@@ -23,11 +23,11 @@
{% if attr.class is not defined or ('cf-title' not in attr.class and 'cf-fields' not in attr.class ) %}
@@ -36,13 +36,13 @@
{{ form_widget(form) }}
@@ -55,7 +55,7 @@
{% endif %}
{% endapply %}
{% endblock form_row %}
-
+
{% block choice_widget_expanded %}
{% apply spaceless %}
@@ -125,7 +125,7 @@
{%- endif -%}
{%- endblock time_widget -%}
-
+
{% block form_errors %}
{% apply spaceless %}
{% if errors|length > 0 %}
@@ -140,27 +140,27 @@
{% block _formatter__aggregator_placement_csv_formatter_row %}
{{ form_label(form) }}
-
+
{{ form_row(form.order) }}
-
+
{{ form_row(form.position) }}
-
+
{% endblock %}
{% block _formatter__aggregator_placement_spreadsheet_formatter_row %}
{{ form_label(form) }}
-
+
{{ form_row(form.order) }}
-
+
{% endblock %}
{% block chill_collection_widget %}
-
{% for entry in form %}
-
@@ -172,14 +172,14 @@
{% if form.vars.allow_add == 1 %}
-
{% endif %}
-
+
{% endblock %}