{% extends "adminsite/base.html" %} {% block page_title %}{{ heading }} · {{ title }}{% endblock %} {% block header %} {% endblock %} {% block header_actions %} {% if can_edit %} Edit {% endif %} {% endblock %} {% block content %}
{% macro details() %}
{% for path, label, value in rows %}
{{ label }}
{{ value if value else "—" }}
{% endfor %}
{% endmacro %} {% if history is not none %}
{{ details() }}
{% set items = history %} {% set show_record = False %} {% include "adminsite/_history.html" %}
{% else %} {{ details() }} {% endif %}
{% endblock %}