{% import 'admin/static.html' as admin_static with context %} {% import 'admin/lib.html' as lib with context %} {% block body %} {# content added to modal-content #} {% block fa_form %} {{ lib.render_form(form, dir_url, action=request.url, is_modal=True) }} {% endblock %} {% endblock %} {% block tail %} {% endblock %}