{% extends "admin_base.html" %} {% load display %} {% block admin %}
{% csrf_token %} {% include "includes/bootstrap_errors.html" with errors=form.non_field_errors %}
{% include "includes/bootstrap_errors.html" with errors=form.content.errors %} {{ form.content }}
{% with formset=formsets.footnote %}

Footnotes

{{ formset.management_form }}
{% for footnote in formset %} {% with footnote.instance as fn %}
{{ fn.as_text }}
{{ fn.content|as_html }}
{% for field in footnote %} {{ field }} {% endfor %}
{% endwith %} {% endfor %}
{% include "includes/wysihtml5_full_toolbar.html" with toolbar_id="footnote-toolbar" %}
{% endwith %}
{% endblock %}