{% from 'bs_form_body.htm' import bs_form_body with context %} {# @note: Also called in forms.set_knockout_template #} {% if not html.layout_classes %} {% do html.update({'layout_classes': layout_classes}) %} {% endif %} {% if action == '' %} {# DisplayText fields may use tr/td when displaying as tables or div when embedded into "normal" forms. #} {% if formset_index == 0 %} {{ html.inline_title }} {% else %} {% endif %} {% else %} {% if not html.formset_form_class %} {% do html.update({'formset_form_class': ''}) %} {% endif %}

{{ html.inline_title }}

{% endif %} {{ bs_form_body(form, html.layout_classes) }} {% if action != '' %}
{% endif %}