From 1d5cd5253b125eb6406dd67e9f267c208658bcfc Mon Sep 17 00:00:00 2001
From: maheshgudi
Date: Fri, 3 Feb 2017 14:40:50 +0530
Subject: renamed quiz model attribute from can_skip_questions to allow_skip
---
yaksh/templates/exam.html | 12 ++++++++----
yaksh/templates/yaksh/question.html | 4 +---
2 files changed, 9 insertions(+), 7 deletions(-)
(limited to 'yaksh/templates')
diff --git a/yaksh/templates/exam.html b/yaksh/templates/exam.html
index 00633a3..dfcaf2d 100644
--- a/yaksh/templates/exam.html
+++ b/yaksh/templates/exam.html
@@ -31,8 +31,8 @@
Question Navigator
{% for qid in paper.questions.all %}
- {%if paper.question_paper.quiz.can_skip_questions%}
- {% if qid in paper.questions_unanswered.all %}
+ {%if paper.question_paper.quiz.allow_skip %}
+ {% if qid in paper.get_questions_unanswered %}
{% if qid.id == question.id %}