Skip to content

Commit

Permalink
EZEE-3324: Form Builder: missing design for checkbox field in the For…
Browse files Browse the repository at this point in the history
…m preview
  • Loading branch information
lucasOsti committed Oct 30, 2020
1 parent 2a57e16 commit 31957c7
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 -%}
<input type="checkbox" {{ block('widget_attributes') }}{% if value is defined %} value="{{ value }}"{% endif %}{% if checked %} checked="checked"{% endif %} />
{%- endblock -%}
Expand Down

0 comments on commit 31957c7

Please sign in to comment.