{% extends "accounting/layout.html" %} {% load static %} {% block head %} {{ block.super }} {# NB: because the payment form is a subform it won't output the correct assets, so we explicitly put it there #} {{ form.media }} {% endblock %} {% block content %}