This commit is contained in:
Ross
2021-08-17 18:13:25 +01:00
parent afaae40e48
commit 1bcfa722af
+11 -9
View File
@@ -15,8 +15,8 @@
class="help-text">[When checked the exam will be available to take in the test system]</span>
</div>
<div class="parent-help" title="Click to enable / disable the exam results">
Publish results: <input type="checkbox" id="exam-publish-results-switch"
{% if exam.publish_results %}checked{% endif %}> <span class="help-text">[When checked the exam results will
Publish results: <input type="checkbox" id="exam-publish-results-switch" {% if exam.publish_results %}checked{%
endif %}> <span class="help-text">[When checked the exam results will
be available on this site]</span>
</div>
{% endif %}
@@ -26,18 +26,12 @@
{% for question in questions.all %}
<li data-question_pk={{question.pk}}>
<span>
Description: {{ question.description}}
<br />
History: {{ question.history}}
<br />
{% for series in question.series.all %}
<div class="series-block">
Series {{forloop.counter }}:<br />
{{series.get_block}}
</div>
{% empty %}
No series
{% endfor %}
<div>
Author(s): {{question.get_authors}}
</div>
@@ -46,6 +40,14 @@
title="View the question">View</a> / <a href="{% url 'longs:long_update' question.id %}"
title="Edit the question">Edit</a>
</div>
</span>
<div class="series-block">
Series {{forloop.counter }}:<br />
{{series.get_block}}
</div>
{% empty %}
No series
{% endfor %}
</li>
{% endfor %}
</ol>