{% load form_tags %} {% if oneline %} {{ field }} {% else %}
{% if field|widget_type == 'SectionWidget' %} {% if not forloop.first %}
{% endif %} {{ field }} {% else %} {% if labels != 'False' and not 'no-label' in field.field.widget.attrs.class and not field.field.no_label %} {% endif %} {% if field|widget_type == 'CheckboxInput' %}
{% else %}
{{ field }}
{% if field.errors %}
{{ field.errors|join:"
" }}
{% else %} {% if field.help_text %}
{{ field.help_text }}
{% endif %} {% endif %}
{% endif %} {% endif %}
{% endif %}