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