update conditions to use through for self links

This commit is contained in:
Ross
2023-11-06 11:16:59 +00:00
parent bbcfe7d80c
commit 369b1970a3
12 changed files with 232 additions and 6 deletions
@@ -26,6 +26,10 @@
{% for parent in condition.parent.all %}
<a href="{{parent.get_absolute_url}}">{{parent}}</a>
{% endfor %}<br />
Children:
{% for child in condition.child.all %}
<a href="{{child.get_absolute_url}}">{{child}}</a>
{% endfor %}<br />
RCR condition: {{condition.rcr_curriculum}}<br/>
{% if not condition.rcr_curriculum %}