summaryrefslogtreecommitdiff
path: root/testapp/templates/exam/showquestionpapers.html
diff options
context:
space:
mode:
authorprathamesh2013-08-19 13:09:10 +0530
committerprathamesh2013-08-19 13:09:10 +0530
commitfbeed0456532b2b36f02a26dbfffc132235d5e4c (patch)
tree3a4f08f8e889b4d27a018ea6915d954bf445f1c3 /testapp/templates/exam/showquestionpapers.html
parent754244da53f7e0a63c272ce6d1ffb15c1d5be0ae (diff)
downloadonline_test-fbeed0456532b2b36f02a26dbfffc132235d5e4c.tar.gz
online_test-fbeed0456532b2b36f02a26dbfffc132235d5e4c.tar.bz2
online_test-fbeed0456532b2b36f02a26dbfffc132235d5e4c.zip
This branch was created for testing the app.
Changes made here are during the testing phase. And the feedbacks recevied are implemented.
Diffstat (limited to 'testapp/templates/exam/showquestionpapers.html')
-rw-r--r--testapp/templates/exam/showquestionpapers.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/testapp/templates/exam/showquestionpapers.html b/testapp/templates/exam/showquestionpapers.html
index 26b756d..e511472 100644
--- a/testapp/templates/exam/showquestionpapers.html
+++ b/testapp/templates/exam/showquestionpapers.html
@@ -8,6 +8,7 @@
{% endblock %}
{% block manage %}
+{% if papers %}
<form name=frm action="" method="post">
{% csrf_token %}
{% for i in papers %}
@@ -16,4 +17,7 @@
<br>
<button class="btn" type="submit" onClick="return confirm_delete(frm);" name='delete' value='delete'>Delete Selected</button>
</form>
+{% else %}
+<center><h3>No Question Papers available</h3></center>
+{% endif %}
{% endblock %}