{% extends "_base.html" %} {# A short receipt or label. The header block of _base.html is replaced by a compact one — a logo bar sized for A4 looks wrong on something meant to be torn off or stuck to a box. #} {% block header %}{% endblock %} {% block extra_head %} {% endblock %} {% block content %}
{% if doc.branding.logo_data_uri %} {% endif %}

{{ doc.title or doc.heading }}

{% if doc.subtitle %}
{{ doc.subtitle }}
{% endif %}
{% if doc.qr_data_uri %} {% endif %}
{% for label, value in doc.fields.items() %}
{{ label }} {{ value }}
{% endfor %}
{% if doc.note %}
{{ doc.note }}
{% endif %}
{% endblock %}