{% extends "vantage/base.html" %} {% load vantage vantage_slots i18n %} {% block content %}

{{ object }}

{{ panel.get_label }} ยท #{{ object.pk }}

{% translate "Back to list" %} {% if "delete" in allowed %} {% translate "Delete" %} {% endif %} {% if "change" in allowed %} {% translate "Edit" %} {% endif %} {% slot "object_actions" %}

{% translate "Details" %}

{% for field in fields %}
{{ field.label }}
{{ field.value }}
{% endfor %}
{% slot "detail_sidebar" %} {% include "vantage/partials/history.html" %} {% if related %} {% if related_tabs %} {% comment %} A tab strip built entirely from a radio group: input, its label, and its panel are consecutive siblings so ``:checked + label + panel`` can target exactly one panel per input with nothing fancier than adjacent-sibling selectors, and CSS ``order`` regroups the (hidden) inputs' labels into a row above the panels without needing them adjacent in the markup too. No JavaScript is involved: the browser's own radio-group keyboard handling (Tab in, arrow keys between, native and free) is the whole interaction model. See ModelPanel.related_tabs. {% endcomment %}
{% translate "Related records" %} {% for block in related %}
{% include "vantage/partials/related_block.html" with block=block %}
{% endfor %}
{% else %} {% endif %} {% endif %}
{% endblock %}