From 1b74d8949089afc0c659ce4ca1a7f18720b8693a Mon Sep 17 00:00:00 2001 From: Ross Date: Wed, 6 Apr 2022 17:13:14 +0100 Subject: [PATCH] . --- rapids/templates/rapids/exam_scores_new.html | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/rapids/templates/rapids/exam_scores_new.html b/rapids/templates/rapids/exam_scores_new.html index 20fe8d26..54a36e51 100644 --- a/rapids/templates/rapids/exam_scores_new.html +++ b/rapids/templates/rapids/exam_scores_new.html @@ -62,15 +62,14 @@ [A] {% endif %} - {% for cid in cids %} - {% comment %} {{ans_by_question|get_item:question|get_item:cid}} {% 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 %} {{ans_score.0}} - {% endwith %} {% endcomment %} + {% endwith %} + {% endfor %} {% endcomment %} {% for ans, score in by_question|get_item:question %} {{ans}} {% endfor %} - {% endfor %} {% endfor %}