begin correct sorting of exams/collection

This commit is contained in:
Ross
2024-02-18 21:56:19 +00:00
parent 4721122e4d
commit 7c9192986a
6 changed files with 29 additions and 9 deletions
+3 -3
View File
@@ -10,9 +10,9 @@
</div>
<h3>Cases</h3>
<ol id="full-question-list" class="sortable">
{% for case in cases %}
<li data-question_pk={{case.pk}}><a href="{% url 'atlas:collection_case_view' pk=collection.pk case_number=forloop.counter0 %}">Case {{forloop.counter}}</a>
: {{case.title}}
{% for casedetail in casesdetails %}
<li data-question_pk={{case.pk}}><a title="sort_order: {{casedetail.sort_order}}" href="{% url 'atlas:collection_case_view' pk=collection.pk case_number=forloop.counter0 %}">Case {{forloop.counter}}</a>
: {{casedetail.case.title}}
</li>
{% endfor %}