{% if item.type == 'BooleanField' %} {{ item.label(class=theme.form.check_label_class, style=theme.form.check_label_style) }} {{ item(class=theme.form.check_class) }} {% endif %}