{% use 'cards/forms/form_raw_layout.html.twig' %} {%- block form_row -%} {%- set row_attr = row_attr|merge({ class: row_attr.class|default(row_class|default('form-row')) }) -%} {{- parent() -}} {%- endblock form_row -%} {%- block widget_attributes -%} {%- set attr = attr|merge({ class: attr.class|default(widget_class|default('form-row-widget')) ~ (disabled ? ' ' ~ widget_disabled_class|default('form-row-widget-disabled')) ~ (errors|length ? ' ' ~ widget_errors_class|default('form-row-widget-error')) }) -%} {{- parent() -}} {%- endblock widget_attributes -%} {%- block form_label -%} {%- set label_attr = label_attr|merge({ class: label_attr.class|default(label_class|default('form-row-label')) }) -%} {{- parent() -}} {%- endblock form_label -%} {%- block form_help -%} {%- set help_attr = help_attr|merge({ class: help_attr.class|default(help_class|default('form-row-help')) }) -%} {{- parent() -}} {%- endblock form_help -%} {%- block form_errors -%} {%- if errors|length > 0 -%}