{% load form_helpers %} {% load helpers %} {% if field|widget_type == 'checkboxinput' %}
{{ field }}
{% if field.help_text %} {{ field.help_text|safe }} {% endif %} {% if bulk_nullable %} {% endif %}
{% elif field|widget_type == 'textarea' and not field.label %}
{{ field }} {% if bulk_nullable %} {% endif %} {% if field.help_text %} {{ field.help_text|safe }} {% endif %}
{% elif field|widget_type == 'slugwidget' %}
{{ field }}
{% elif field|widget_type == 'selectspeedwidget' %} {# This is outside the widget because bootstrap requires a specific order for border-radius purposes.#}
{{ field }}
{% elif field|widget_type == 'fileinput' %}
{% else %}
{{ field }} {% if field.help_text %} {{ field.help_text|safe }} {% endif %}
{% if field.field.required %}{{ field.label }} field is required.{% endif %}
{% if bulk_nullable %}
{% if field.help_text %} {{ field.help_text|safe }} {% endif %} {% endif %} {% endif %} {% comment %}
{% if field.errors %} {% endif %}
{% endcomment %}