summaryrefslogtreecommitdiff
path: root/yaksh/templates/exam.html
diff options
context:
space:
mode:
authorankitjavalkar2017-02-23 17:33:07 +0530
committerankitjavalkar2017-03-06 17:35:17 +0530
commit9484e8bebcd4363fa3aa1c2fc842de1bdcc25a10 (patch)
treeadffd3c180b6c2ea01841fbc6701d12a58caa6ed /yaksh/templates/exam.html
parentaede1c3736077387d63eacd20c2c39d8875e605d (diff)
downloadonline_test-9484e8bebcd4363fa3aa1c2fc842de1bdcc25a10.tar.gz
online_test-9484e8bebcd4363fa3aa1c2fc842de1bdcc25a10.tar.bz2
online_test-9484e8bebcd4363fa3aa1c2fc842de1bdcc25a10.zip
Allow revisiting all types of question to resubmit answer
Diffstat (limited to 'yaksh/templates/exam.html')
-rw-r--r--yaksh/templates/exam.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/yaksh/templates/exam.html b/yaksh/templates/exam.html
index b497cc0..02ff70a 100644
--- a/yaksh/templates/exam.html
+++ b/yaksh/templates/exam.html
@@ -52,7 +52,9 @@
{% endif %}
{% endif %}
{% if qid in paper.get_questions_answered %}
- <li class="disabled"><a style="background-color:#B4B8BA; width:25%" href="#" data-toggle="tooltip" title="{{ qid.description }}" >{{ forloop.counter }}</a></li>
+ <li><a style="background-color:#B4B8BA; width:25%" href="#" data-toggle="tooltip"
+ onclick="call_skip('{{ URL_ROOT }}/exam/{{ question.id }}/skip/{{ qid.id }}/{{ paper.attempt_number }}/{{ paper.question_paper.id }}/')"
+ title="{{ qid.description }}">{{ forloop.counter }}</a></li>
{% endif %}
{% else %}
{% if qid.id == question.id %}