21 lines
657 B
HTML
21 lines
657 B
HTML
{% extends "./base.html" %}
|
|
|
|
{% block "content" %}
|
|
|
|
|
|
{% regroup documents by type as documents_types %}
|
|
{% if documents_types %}
|
|
<ul>
|
|
{% for type in documents_types %}
|
|
<li><b>{{ type.grouper }}</b>
|
|
<ul>
|
|
{% for document in type.list %}
|
|
<li><a href="{% url 'document_details' document.pk %}">{{ document }}</a></li>
|
|
{% endfor %}
|
|
</ul>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %}
|
|
|
|
{% endblock %} |