{% extends "components/modals/modal_base.html" %}

{% block modal_body %}
  <form hx-post="{{ action }}" hx-target="#modal-container" hx-swap="outerHTML">
    {% for field in form %}
      {% include "forms/partials/form_field.html" with field=field %}
    {% endfor %}
    {% include "forms/partials/form_actions.html" %}
  </form>
{% endblock modal_body %}
