{% extends "base.html" %} {% block head %} {{block.super}} {% endblock %} {% block content %}

{{wrapper.name}}

{% with form.form_instance as form %} {% include "edit/form_fields.html" %} {% endwith %} {% for name, one_to_one in form.one_to_one_instances.items %} {%with one_to_one.form_instance as form %} {% include "edit/form_fields.html" %} {% endwith %} {% endfor %} {% for name, form in form.one_to_many_instances.items %} {% include "edit/form_fields_list.html" %} {% endfor %}
{% endblock %}