{% use "bootstrap_4_layout.html.twig" %} {# Labels #} {% block form_label -%} {%- if label is same as(false) -%}
{%- else -%} {%- if expanded is not defined or not expanded -%} {%- set label_attr = label_attr|merge({class: (label_attr.class|default('') ~ ' col-form-label')|trim}) -%} {%- endif -%}