{# Bordered note. rows: (label, value) pairs, escaped, a label ending in ":" gets no second one; body_html: sanitised by the service; note: escaped text. #}
|
{% if heading %} {{ heading }} {% endif %} {% for label, value in rows %}{{ label }}{% if label|last != ":" %}:{% endif %} {{ value }} {% endfor %} {% if body_html %}{{ body_html|safe }}{% endif %} {% if note %}{{ note }} {% endif %} |