{% if item.type == 'BooleanField' %} <br> {{ item.label(class=theme.form.check_label_class, style=theme.form.check_label_style) }} <br> {% if item.errors %} {% include 'form/formError.html' %} {% else %} {{ item(class=theme.form.check_class) }} {% endif %} {% endif %}