{% extends "admin/base.html" %} {% block main %} {% include "admin/snippets/path.html" %}

Edit {{ doc_type }}

{% if form %}
{{ form.as_table }}
{% if doc_item.attachments %}

Attachments

{% if document.attachments %} {% for name, data in document.attachments.iteritems %} {% endfor %}
File Size Type Code
{{ name }} {{ data.length|filesizeformat }} {{ data.content_type }} {% templatetag openblock %} image "{{ name }}" ["title" ["width" ["height"]]] {% templatetag closeblock %}
{% templatetag openblock %} attachment "{{ name }}" {% templatetag closeblock %}
x
{% endif %}


{% endif %}
{% else %}
No form for «{{ app.name }}.{{ doc_type }}» provided. Using default output.
{% endif %} Delete {% endblock %}