{% if collection.serializer.extend_page_template %} {% extends "page.html" %} {% asset "collection/htmx" %} {% endif %} {% import "macros/form.html" as form %} {% block main_content %}