{% load i18n %}
{% load crispy_forms_tags %}
<div class="container">
    <div id="formset">
        {{ formset.management_form }}
        {% for form in formset %}
        <div id="form-0" class="formset pt-2">
            <div class="row">
                <div class="col-12">
                    {{form.status|as_crispy_field}}
                  </div>
                <div class="col-12">
                  {{form.title|as_crispy_field}}
                </div>
                <div class="col-12">
                  {{form.subtitle|as_crispy_field}}
                </div>
            </div>
        </div>
        {% endfor %}
        <div id="empty-form" class="d-none">
            <div class="row">
                <div class="col-12">
                    {{formset.empty_form.status|as_crispy_field}}
                </div>
                <div class="col-12">
                    {{formset.empty_form.title|as_crispy_field}}
                </div>
                <div class="col-12">
                    {{formset.empty_form.subtitle|as_crispy_field}}
                </div>
            </div>
        </div>
    </div>
</div>
<p class="response-footer text-link fw-bold oxanium"></p>
<input type="hidden" name="form-id" value={{form_name}}>
<input type="hidden" name="section" value={{section}}>