Add display of related SBA questions in condition detail view
This commit is contained in:
@@ -62,6 +62,15 @@
|
||||
</ul>
|
||||
{% endif %}
|
||||
|
||||
{% if condition.sbas_questions.all %}
|
||||
<h4>Related SBA Questions</h4>
|
||||
<ul>
|
||||
{% for q in condition.sbas_questions.all %}
|
||||
<li><a href="{{ q.get_absolute_url }}">{% if q.title %}{{ q.title }}{% else %}{{ q.get_stem_stripped|truncatechars:140 }}{% endif %}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
|
||||
|
||||
{% if not condition.rcr_curriculum and can_merge %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user