From 31957c758abcbab03994f827de0b7387bd309bfb Mon Sep 17 00:00:00 2001 From: lukasz_ostafin Date: Tue, 20 Oct 2020 14:33:48 +0200 Subject: [PATCH] EZEE-3324: Form Builder: missing design for checkbox field in the Form preview --- .../Resources/views/themes/admin/ui/form_fields.html.twig | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/bundle/Resources/views/themes/admin/ui/form_fields.html.twig b/src/bundle/Resources/views/themes/admin/ui/form_fields.html.twig index 408e21a2c1..d76472ba8e 100644 --- a/src/bundle/Resources/views/themes/admin/ui/form_fields.html.twig +++ b/src/bundle/Resources/views/themes/admin/ui/form_fields.html.twig @@ -69,6 +69,11 @@ {%- endfor -%} {%- endblock -%} +{%- block checkbox_widget -%} + {%- set attr = attr|merge({class: 'ez-input ez-input--checkbox'}) -%} + {{ parent() }} +{%- endblock -%} + {%- block trash_item_checkbox_widget -%} {%- endblock -%}