This commit is contained in:
Ross
2022-04-06 17:13:14 +01:00
parent bc5601b11f
commit 1b74d89490
+4 -5
View File
@@ -62,15 +62,14 @@
[A]
{% endif %}
</td>
{% for cid in cids %}
{% comment %} <td class="rapid-ans user-answer-score-{{score_by_question|get_item:question|get_item:cid}}" title="answer score: {{score_by_question|get_item:question|get_item:cid}}">{{ans_by_question|get_item:question|get_item:cid}}</td> {% endcomment %}
{% comment %} {% with by_question|get_item:question|get_item:cid as ans_score %}
{% comment %} {% for cid in cids %}
{% with by_question|get_item:question|get_item:cid as ans_score %}
<td class="user-answer-score-{{ans_score.1}}" title="answer score: {{ans_score.1}}">{{ans_score.0}}</td>
{% endwith %} {% endcomment %}
{% endwith %}
{% endfor %} {% endcomment %}
{% for ans, score in by_question|get_item:question %}
<td class="user-answer-score-{{score}}" title="answer score: {{score}}">{{ans}}</td>
{% endfor %}
{% endfor %}
</tr>
{% endfor %}
<tr>