{% for pc in p_items %}
{% include "serviceform/reports/snippets/_participant_row.html" with item=pc participant=pc.cached_participant %}
{% endfor %}
{% endfor %}
{% else %}
{% for pa in p_items %}
{% include "serviceform/reports/snippets/_participant_row.html" with item=pa participant=pa.cached_participant %}
{% endfor %}
{% endif %}
{% endfor %}
{% endfor %}
{% endfor %}
{% include "serviceform/reports/contents/_report_sidebar.html" %}