Remove unnecessary check for defined exam_user_answers in responses fragment
This commit is contained in:
@@ -3,7 +3,6 @@
|
|||||||
<h6>Responses in this exam</h6>
|
<h6>Responses in this exam</h6>
|
||||||
<div class="small text-muted mb-2">List of candidate answers recorded for this question in the current exam.</div>
|
<div class="small text-muted mb-2">List of candidate answers recorded for this question in the current exam.</div>
|
||||||
<ul class="list-group">
|
<ul class="list-group">
|
||||||
{% if exam_user_answers is defined %}
|
|
||||||
<ul class="list-group">
|
<ul class="list-group">
|
||||||
{% for ua in exam_user_answers %}
|
{% for ua in exam_user_answers %}
|
||||||
<li class="list-group-item d-flex justify-content-between align-items-start">
|
<li class="list-group-item d-flex justify-content-between align-items-start">
|
||||||
@@ -29,4 +28,3 @@
|
|||||||
{% empty %}
|
{% empty %}
|
||||||
<li class="list-group-item">No responses recorded for this exam.</li>
|
<li class="list-group-item">No responses recorded for this exam.</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
|
||||||
|
|||||||
Reference in New Issue
Block a user