From ed532c50d3f5c61ba3ce39d07c8c0c21e6c9c171 Mon Sep 17 00:00:00 2001
From: CruiseDevice
Date: Wed, 13 Feb 2019 15:50:00 +0530
Subject: Add Preview QuestionPaper button in Quiz view page
---
yaksh/templates/exam.html | 9 +++++++++
1 file changed, 9 insertions(+)
(limited to 'yaksh/templates/exam.html')
diff --git a/yaksh/templates/exam.html b/yaksh/templates/exam.html
index 29ad167..0b292bb 100644
--- a/yaksh/templates/exam.html
+++ b/yaksh/templates/exam.html
@@ -98,6 +98,15 @@
{% endfor %}
+
+ {% if user.profile.is_moderator %}
+ {% if quiz.questionpaper_set.get %}
+
+ View Question Paper
+
+
+ {% endif %}
+ {% endif %}
--
cgit