{% extends "admin/base.html" %} {% load admin_tags %} {% block subnav-bar %} {% include "admin/subnav.html" %} {% endblock subnav-bar %} {% block main-area%}
{% block main-item-details %} {# Start of the decoration of main item #} {% block main-item-head %} {% include "admin/_base_main_item_head.html" %} {% endblock %} {# This is the section for the item for which we hare requested details #} {% block main-item %} {% include main_type|get_details_template with item=main_item type=main_type %} {% endblock %} {# End of the decoration of main item #} {% block main-item-tail %} {% include "admin/_base_main_item_tail.html" %} {% endblock %} {% endblock %}

Associations for '{{ main_item|repr }}' :

{# This is a list of associations for this item #} {% block item-associations-list %} {% for association in associations_list %} {% with type=association.type %} {# Seperator for the start of the list #} {% block item-list-head %} {% include "admin/_base_list_head.html" %} {% endblock item-list-head %} {# This is an item list for each association #} {% block item-list %} {% for item in association.items %} {# Details for an item in the list #} {% block item-details %} {% include type|get_details_template with action_dict=association.actions%} {% endblock item-details %} {% empty %}

No items in the list

{% endfor %} {% endblock item-list %} {# Seperator for the end of the list #} {% block item-list-tail %} {% include "admin/_base_list_tail.html" %} {% endblock item-list-tail %} {% endwith %} {% empty %}

No associations for this item

{% endfor %} {% endblock item-associations-list %}
Tips and Tricks
{% block action-modals %} {% include "admin/action_modal_list.html" %} {% endblock action-modals %}
{% endblock main-area%} {% block custom-javascript %} {% endblock %}