diff options
author | Prabhu Ramachandran | 2017-03-08 15:59:18 +0530 |
---|---|---|
committer | GitHub | 2017-03-08 15:59:18 +0530 |
commit | 0a8000387b3edd463cc58b7fb85f76639f10b150 (patch) | |
tree | 3aba6618219a203a3bda5d4c85ef0ad1c229ab1d /yaksh/templates/exam.html | |
parent | aede1c3736077387d63eacd20c2c39d8875e605d (diff) | |
parent | f57cfacf41f8a1d72a56ea8c875f906e7db2a15e (diff) | |
download | online_test-0a8000387b3edd463cc58b7fb85f76639f10b150.tar.gz online_test-0a8000387b3edd463cc58b7fb85f76639f10b150.tar.bz2 online_test-0a8000387b3edd463cc58b7fb85f76639f10b150.zip |
Merge pull request #229 from ankitjavalkar/reattempt-mcq
Allow to reattempt all types of questions
Diffstat (limited to 'yaksh/templates/exam.html')
-rw-r--r-- | yaksh/templates/exam.html | 4 |
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 %} |