{% load unfold %} {% if field.is_checkbox %} {{ field }} {% else %} {% include "unfold/helpers/field.html" with field=field|add_css_class:form_classes.text_input %} {% endif %}