{% set ns = namespace() -%} {% include 'head.html' with context %}

AAC Results: Licences{% if year %} for {{ year }}{% endif %}

{% if results -%} {%- set ns.total = 0 -%} {%- if 'count' in results -%} {%- set ns.total = results['count'] -%} {%- endif -%} {%- for row in results['rows'] -%} {%- endfor -%}
Licence Name Year
Licence {{ row.licence|e }} Name {{ row.person|e }} Year {{ row.date | year }}
{%- endif %}