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