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