{% extends "brickwork/shell/app.html" %} {% comment %} A detail page: the record's facts, related sections, and a danger zone. COPY THIS FILE into your project and edit it. It is not on the template loader path, so you cannot extend it (ADR-056). What your view must supply: invoice the record being shown invoice_facts its facts as [{label, value}] for the definition table nav_items / nav_active as in list.html {% endcomment %} {% load brickwork_components brickwork_nav %} {% block page_title %}Invoice INV-2417 - Northwind{% endblock %} {% block sidebar %}{% bw_nav nav_items nav_active %}{% endblock %} {% block sidebar_mobile %}{% bw_nav nav_items nav_active %}{% endblock %} {% block brand_wordmark %}Northwind{% endblock %} {% comment %} Breadcrumbs are a list of {label, url} dicts, last item current. Build them in the view or a context processor; hard-coded here so the example reads. {% endcomment %} {% block breadcrumbs %} {% include "brickwork/components/_breadcrumbs.html" with items=breadcrumb_items %} {% endblock %} {% block page_header %} {% include "brickwork/components/_page_header.html" with title="Invoice INV-2417" description="Raised 14 July 2026 against Acme Corp." %} {% endblock %} {% block page_actions %} {% bw_button "Download PDF" variant="secondary" icon="download" href="/invoices/INV-2417/pdf/" %} {% bw_button "Edit" variant="primary" icon="edit" href="/invoices/INV-2417/edit/" %} {% endblock %} {% block content %}