summaryrefslogtreecommitdiff
path: root/testapp/templates/exam/showquestionpapers.html
diff options
context:
space:
mode:
authorPrabhu Ramachandran2014-06-05 17:56:34 +0530
committerPrabhu Ramachandran2014-06-05 17:56:34 +0530
commit69c114dde3df17a8fd688809beee262f9c274a8d (patch)
tree8f385a3e36fc86b9237107f67122362c49220082 /testapp/templates/exam/showquestionpapers.html
parent3d0b69caf6b94a1afe95fef2787929c14afdb485 (diff)
parent18cd0fa1def34bb320f38062596789f745bee530 (diff)
downloadonline_test-69c114dde3df17a8fd688809beee262f9c274a8d.tar.gz
online_test-69c114dde3df17a8fd688809beee262f9c274a8d.tar.bz2
online_test-69c114dde3df17a8fd688809beee262f9c274a8d.zip
Merge pull request #16 from prathamesh920/deploy_server
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 %}