{% extends "beam/base.html" %} {% load i18n %} {% load beam_tags %} {% block body_classes %}{{ block.super }} beam-detail{% if component.model %}{% get_options component.model as options %} beam-detail-{{ options.app_label }}-{{ options.model_name }}{% endif %}{% endblock %} {% block content %} {% block links %} {% include "beam/partials/links.html" with links=viewset.links link_layout=component.link_layout %} {% endblock %} {% block heading %} {% if heading %}{{ heading }}{% else %} {% get_options component.model as options %} {{ object }} {{ options.verbose_name|capfirst }} {% endif %} {% endblock %} {% block details %} {% include "beam/partials/layout.html" with object=object layout=component.layout fields=component.fields %} {% endblock %} {% block above_inlines %}{% endblock %} {% block inlines %} {% for inline in inlines %} {{ inline.get_title|capfirst }} {% for instance in inline.instances %} {% include "beam/partials/layout.html" with object=instance layout=inline.layout fields=inline.fields only %} {% empty %} {% blocktrans with title=inline.get_title %}There aren't any.{% endblocktrans %} {% endfor %} {% endfor %} {% endblock %} {% block below_inlines %}{% endblock %} {% endblock %}