{% for app in doc.apps %}

{{ app }}

{{ app.text_before() }} {{ app.text_with_signs() }} {{ app.text_after() }}

{% for reading in app.readings %}

{{ reading.n}}

{{ reading }}

{{reading.witnesses_str()}}

{% endfor %}
{% for pair in (app.pairs if all_apps else app.non_redundant_pairs) %}

{{ pair.active }} ‎➜ {{ pair.passive }}

{% for relation_type in doc.relation_types.values() %}
{% endfor %} {% if pair.rdgai_responsible() %}
{% include 'assets/img/rdgai-logo-tall.svg' %}
{% endif %}
{{ pair.get_description() }}
{% endfor %}
{% endfor %} {% for relation_type in doc.relation_types.values() %}

{{ relation_type }}

{% endfor %}