{% use 'form_div_layout.html.twig' with checkbox_widget as base_checkbox_widget %} {% use "bootstrap_5_layout.html.twig" %} {# Widgets #} {%- block form_label -%} {{- parent() -}} {% if label is not same as(false) -%} {%- if required -%} {{ block('span_required') }} {%- endif -%} {%- endif -%} {%- endblock form_label -%} {% block span_required %} * {% endblock %} {%- block yes_and_no_choice_widget -%}
{% endif %}
{% endif %}