{% if field.is_hidden %} {{ field }} {% elif field_type == 'checkbox' %}
{{ field }}
{% include "bootstrap4/help_text_and_errors.html" %}
{% elif field_type == 'radio' or field_type == 'multi_checkbox' %}
{% if field.label %} {{ field.label }} {% endif %} {% for choice in field %}
{{ choice.tag }}
{% endfor %} {% include "bootstrap4/help_text_and_errors.html" %}
{% else %} {% include "bootstrap4/general.html" %} {% endif %}