{% extends "master.html" %} {% load humanize %} {% load access_control %} {% load ui %} {% load staticfiles %} {% block javascript %} {{ block.super }} {% endblock %} {% block sidebar %} {% var as related_pages %} {"pages": [ {"url": "{% url "ui-management" %}", "title": "Management"}, {"url": "{% url "storage-manage" %}", "title": "Storage Management"} {% if storage.id %}, {"url": "{% url "storage-match-up-files" %}?storage={{ storage.id }}", "title": "Match Up Media"}, {"url": "{% url "storage-analyze" storage.id storage.name %}", "title": "Analyze"}, {"url": "{% url "storage-find-records-without-media" %}?storage={{ storage.id }}", "title": "Find Empty Records"} {% endif %} ]} {% endvar %} {{ block.super }} {% if storage.id %}
Statistics
{% with storage.media_set.count as c %} {{ c|intcomma }} media entr{{ c|pluralize:"y,ies" }} {% endwith %}
Permissions
{% permissions_display storage %}
Effective Permissions
{% effective_permissions_form storage %}
{% if request.user.is_superuser %}
Delete Storage
{% csrf_token %}
{% endif %} {% endif %} {% endblock %} {% block content %}

Edit Storage

{{ storage.title }}

{% csrf_token %} {{ form }}
Cancel
{% endblock %}