{% extends "interface/project_base.html" %} {% block admin %} Add new {% endblock %} {% block page %}

Works

{% for work in object_list %} {% with work.docs.count as doc_count %} {% with work.parts.count as part_count %} {% endwith %} {% endwith %} {% endfor %}
{{ work.name }} {{ doc_count }} file{{ doc_count|pluralize }} with {{ part_count }} part{{ part_count|pluralize }}
{% endblock %}