diff options
Diffstat (limited to 'testapp/templates/exam/showquestionpapers.html')
-rw-r--r-- | testapp/templates/exam/showquestionpapers.html | 4 |
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 %} |