This commit is contained in:
Ross
2021-10-17 10:39:02 +01:00
parent d4c48c5966
commit 14fe8f990d
@@ -34,9 +34,12 @@
{% for question in questions.all %}
<li data-question_pk={{question.pk}}>
<span class="flex-col">
<a href="{% url 'anatomy:exam_question_detail' pk=exam.pk sk=forloop.counter0 %}">
<img src="{{ question.image|thumbnail_url:'exam-list' }}" alt="thumbail" />
</a>
</span>
<span class="flex-col-4">
{{ question.description }}
<br />
{{ question.question_type }}: {{ question.get_primary_answer }}
@@ -46,6 +49,7 @@
<a href="{% url 'anatomy:mark' pk=exam.pk sk=forloop.counter0 %}">Mark</a>
{% endif %}
<span class="id"><a href="{% url 'anatomy:question_detail' pk=question.pk %}">[id: {{question.pk}}]</a></span>
</span>
</li>
{% endfor %}
</ol>