{% extends popup_view|yesno:"base/popup.html,base.html" %} {% load custom_tags_and_filters %} {% block title %}{{ title|default_if_none:"Document list" }}{% endblock %} {% block content %} {% if allow_zip %}
{% csrf_token %} {% for document in document_list %} {% with content_type=document|content_type %} {% endwith %} {% endfor %}
{% button type="save" value="Download as zip" onclick="" %}
{% endif %} {% endblock %}