{% if field.is_hidden %} {{ field }} {% else %}
{% if wide %} {% include 'bootstrap_form_field_label.html' with field=field class='col-md-5 pe-4' %} {% include 'bootstrap_form_field_widget.html' with field=field class='col-md-7' %} {% elif email_form %} {% include 'bootstrap_form_field_label.html' with field=field class='col-md-2 pe-4' %} {% include 'bootstrap_form_field_widget.html' with field=field class='col-md-10' %} {% elif plain %}
{% include 'bootstrap_form_field_label.html' with field=field class='me-3 flex-shrink-0' %} {% include 'bootstrap_form_field_widget.html' with field=field class='flex-grow-1' %}
{% else %} {% include 'bootstrap_form_field_label.html' with field=field class='col-md-3 pe-4' %} {% include 'bootstrap_form_field_widget.html' with field=field class='col-md-7' %} {% endif %}
{% endif %}