diff options
Diffstat (limited to 'testapp/templates/exam/grade_user.html')
-rw-r--r-- | testapp/templates/exam/grade_user.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testapp/templates/exam/grade_user.html b/testapp/templates/exam/grade_user.html index 5d3aa58..b7970e8 100644 --- a/testapp/templates/exam/grade_user.html +++ b/testapp/templates/exam/grade_user.html @@ -56,7 +56,7 @@ Start time: {{ paper.start_time }} <br/> {% csrf_token %} {% for question, answers in paper.get_question_answers.items %} <p><strong> - <a id='myHeader' href="{{URL_ROOT}}/admin/exam/question/{{question.id}}" onMouseOver="javascript:showdata('myContent{{question.id}}','myHeader');" onMouseOut="javascript:hidedata('myContent{{question.id}}','myHeader');"> Question: {{ question.id }}. {{ question.summary }} </a> + <a id='myHeader' href="{{URL_ROOT}}/admin/exam/question/{{question.id}}" onMouseOver="javascript:showdata('myContent{{question.id}}','myHeader');" onMouseOut="javascript:hidedata('myContent{{question.id}}','myHeader');"> Question: {{ question.id }}. {{ question.summary }} </a> (Points: {{ question.points }})</strong> </p> <div style="clear:both;"></div> <div id="contentDiv"> <div id="myContent{{question.id}}" style="display: none;"> @@ -70,7 +70,7 @@ Start time: {{ paper.start_time }} <br/> </div> - (Points: {{ question.points }})</strong> </p> + {% if question.type == "mcq" %} <p> Choices: {% for option in question.options.strip.splitlines %} {{option}}, {% endfor %} |