{% load dashub %} {% if field.field.widget.input_type == "checkbox" and field.field.widget|class_name != "DashubAdminCheckboxSelectMultiple"%}
{{ field }} {% include "dashub/helpers/form_label.html" with field=field %}
{% include "dashub/helpers/form_errors.html" with errors=field.errors %} {% include "dashub/helpers/help_text.html" with help_text=field.help_text %}
{% else %}
{% include "dashub/helpers/form_label.html" with field=field %} {{ field }} {% include "dashub/helpers/form_errors.html" with errors=field.errors %} {% include "dashub/helpers/help_text.html" with help_text=field.help_text %}
{% endif %}