{% load form_helpers %}
{% if field|widget_type == 'checkboxinput' %}
{% 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 %} {% else %}
{{ field }} {% if bulk_nullable %} {% endif %} {% if field.help_text %} {{ field.help_text|safe }} {% endif %} {% endif %} {% if field.errors %}
    {% for error in field.errors %} {# Embed an HTML comment indicating the error for extraction by tests #}
  • {{ error }}
  • {% endfor %}
{% endif %}