Fix block form_row in form theme templates, comparing more cases.

See this note https://gitlab.com/Chill-Projet/chill-bundles/-/merge_requests/502#note_1311993084
This commit is contained in:
2023-03-13 16:18:20 +01:00
parent 9d1703ccba
commit bbddf7813e
3 changed files with 11 additions and 3 deletions

View File

@@ -68,7 +68,8 @@
{{- form_errors(form) -}}
</div>
{% else %}
<div class="col-sm">
<div class="col-12 clear">{{- form_label(form) -}}</div>
<div class="col-sm-12">
{{- form_widget(form, widget_attr) -}}
{{- form_help(form) -}}
{{- form_errors(form) -}}