{% from "admin/components/csrf-field.html" import csrf_field %} {% from "admin/components/ui/field.html" import render_form_input with context %} {% from "admin/components/inline.html" import render_inline_section with context %} {% from "admin/components/icons.html" import icon %} {# HTMX posts to itself and swaps its own outerHTML with the response, so a validation error redisplays the form in place; a plain POST to `action` works identically without JS. The swap targets #resource-form-wrapper -- this whole element -- not the