{% extends "master.html" %} {% load humanize %} {% load access_control %} {% load ui %} {% load static %} {% block javascript %} {{ block.super }} {% endblock %} {% block sidebar %} {% var as related_pages %} {"pages": [ {"url": "{% url "ui-management" %}", "title": "Management"}, {"url": "{% url "data-collections-manage" %}", "title": "Collection Management"} {% if collection.id %}, {"url": "{% url "storage-match-up-files" %}?collection={{ collection.id }}", "title": "Match Up Media"}, {"url": "{% url "storage-find-records-without-media" %}?collection={{ collection.id }}", "title": "Find Empty Records"} {% endif %} ]} {% endvar %} {{ block.super }} {% if collection.id %}
Statistics
{% with collection.records.count as c %} {{ c|intcomma }} record{{ c|pluralize }} {% endwith %}
{% if collection.children.count %}
Child Collections
{% for child in collection.children.all %} {{ child.title }}
{% endfor %}
{% endif %}
Permissions
{% permissions_display collection %}
Effective Permissions
{% effective_permissions_form collection %}
{% if can_delete %}
Delete Collection
{% csrf_token %}
{% endif %} {% endif %} {% endblock %} {% block content %}

Edit Collection

{{ collection.title }}

{% csrf_token %} {{ form.title.label_tag }}{{ form.title }}{{ form.title.errors }} {{ form.hidden.label_tag }}{{ form.hidden }}{{ form.hidden.errors }} {% if not form.owner.is_hidden %}{{ form.owner.label_tag }}{% endif %}{{ form.owner }}{{ form.owner.errors }} {{ form.description.label_tag }}{{ form.description }}{{ form.description.errors }} {{ form.agreement.label_tag }}{{ form.agreement }}{{ form.agreement.errors }} {{ form.order.label_tag }}{{ form.order }}{{ form.order.errors }} {{ form.children.label_tag }}
{{ form.children }}
{{ form.children.errors }}

Cancel
{% endblock %}