{% extends 'bootstrap_5_horizontal_layout.html.twig' %} {# Make form rows smaller #} {% block form_row -%} {%- set row_attr = row_attr|merge({"class": "mb-2"}) -%} {{- parent() -}} {%- endblock form_row %} {% block file_widget -%} {%- set type = type|default('file') -%} {{- block('form_widget_simple') -}} {% endblock %} {% block form_label_class -%} col-sm-3 {%- endblock form_label_class %} {% block form_group_class -%} col-sm-9 {%- endblock form_group_class %} {%- block choice_widget_options -%} {% for group_label, choice in options %} {%- if choice is iterable -%} {%- else -%} {% if use_html_in_labels is defined and use_html_in_labels %} {% else %} {% endif %} {%- endif -%} {% endfor %} {%- endblock choice_widget_options -%} {% block si_unit_widget %}