{% extends 'aristotle_mdr/downloads/html/pdf.html' %}
{% load i18n aristotle_tags aristotle_help util_tags %}
{% block title %}
{% if options.title %}
{{ options.title }}
{% else %}
{{ item.name }} {% if item.status %}({{item.status}}){% endif %}
{% endif %}
{% endblock %}
{% block content %}
{% if not tableOfContents and options.title %}
{# If there was no table of contents the user submitted title should go here #}
{# {% include "aristotle_mdr/downloads/html/slots/slots_display.html" %} #}
{% include "aristotle_mdr/downloads/html/component/custom_fields_display.html" %}
{% if subitems %}
{% if is_bulk_download %}
Supporting Items
{% else %}
Supporting Items
{% endif %}
{% for l, itemlist in subitems.items %}
{{ itemlist.model_pluralized }}
{% if itemlist.help %}
{% relink itemlist.help 'brief' %}
{% endif %}
{% for i in itemlist.sorted_items %}
{% include i|template_path:'html,inline' with item=i header='h3' %}