{% extends "detail_view.html" %}
{% load i18n %}
{% block page.content %}
{% for label, value in scalar_fields %}{% endfor %}
{# Built by the view so the role heading can pluralise — literature/ui/contributors.py. #}
{% if contributor_groups %}
{% for group in contributor_groups %}
{% for name in group.names %}{{ name }}{% if not forloop.last %}, {% endif %}{% endfor %}
{% endfor %}
{% endif %}
{% if object.item_dates.all %}
{% for item_date in object.item_dates.all %}
{% include "literature/ui/_date_value.html" %}
{% endfor %}
{% endif %}
{% if identifiers %}
{% for identifier in identifiers %}
{# identifier.href is set by the view, and only for an allowlisted scheme (RS-001). #}
{% if identifier.href %}
{{ identifier.value }}
{% else %}
{{ identifier.value }}
{% endif %}
{% endfor %}
{% endif %}
{% endblock page.content %}