{% load widget_tweaks %}
{% csrf_token %}
{% with form.name as field %} {% include "htmx/forms/input_field.html" with label=field.label max_width="md" field=field %} {% endwith %}
{% if form.instance.pk %} {% include form.modal.template_name with modal=form.modal %} {% else %} {% endif %}
{{ formset.as_div }}