Skip to content

Commit 68907d5

Browse files
author
Mathieu De Keyzer
committed
add a div arround bypassed DataFieldType
1 parent 4ee4fc7 commit 68907d5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Resources/views/form/fields.html.twig

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@
3030

3131
{% block bypassdatafield_row -%}
3232
{% if form.value is defined %}
33-
{{form_row(form.value)}}
33+
<div {{ block('widget_attributes') }} >
34+
{{form_row(form.value)}}
35+
</div>
3436
{% endif %}
3537
{%- endblock bypassdatafield_row %}
3638

0 commit comments

Comments
 (0)