summaryrefslogtreecommitdiff
path: root/testapp/templates/exam/showquestionpapers.html
diff options
context:
space:
mode:
authorprathamesh2014-06-05 11:54:08 +0530
committerprathamesh2014-06-05 11:54:08 +0530
commit32e019a07de1f9e819e9c1531c50166289c76cb9 (patch)
treeab43c59e35b2250bb5c4caa8f306d19fadbfe706 /testapp/templates/exam/showquestionpapers.html
parent3d0b69caf6b94a1afe95fef2787929c14afdb485 (diff)
parentfa1cdf5c8f92715f2b3866f0a17e2439d27557c5 (diff)
downloadonline_test-32e019a07de1f9e819e9c1531c50166289c76cb9.tar.gz
online_test-32e019a07de1f9e819e9c1531c50166289c76cb9.tar.bz2
online_test-32e019a07de1f9e819e9c1531c50166289c76cb9.zip
Merge branch 'deploy_server'
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 %}