{# Copied the important bits from crispy_forms/templates/bootstrap4/field.html #} {# and crispy_forms/templates/bootstrap4/layout/checkboxselectmultiple.html #} <{% if tag %}{{ tag }}{% else %}div{% endif %} id="div_{{ field.auto_id }}" class="form-group{% if wrapper_class %} {{ wrapper_class }}{% endif %}{% if field.css_classes %} {{ field.css_classes }}{% endif %}"> {% if field.label and form_show_labels %} {% endif %}
{% if form_show_errors and field.errors %} {% for error in field.errors %}

{{ error }}

{% endfor %} {% endif %} {% block field %} {% endblock %} {% include 'bootstrap4/layout/help_text.html' %}