summaryrefslogtreecommitdiff
path: root/yaksh/templates
diff options
context:
space:
mode:
authoradityacp2020-01-29 09:56:26 +0530
committeradityacp2020-01-29 09:58:48 +0530
commit823d875863d907925e13c2e907f1a0382edf61ac (patch)
treeb9b15f63a5bdfdb21122c920be9f41d19a5ae041 /yaksh/templates
parent08cb161d03d4d07345397e57d08d3597a5926282 (diff)
downloadonline_test-823d875863d907925e13c2e907f1a0382edf61ac.tar.gz
online_test-823d875863d907925e13c2e907f1a0382edf61ac.tar.bz2
online_test-823d875863d907925e13c2e907f1a0382edf61ac.zip
Add django messages to show enrollment message for student
Diffstat (limited to 'yaksh/templates')
-rw-r--r--yaksh/templates/yaksh/quizzes_user.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/yaksh/templates/yaksh/quizzes_user.html b/yaksh/templates/yaksh/quizzes_user.html
index 4272ac3..cb79799 100644
--- a/yaksh/templates/yaksh/quizzes_user.html
+++ b/yaksh/templates/yaksh/quizzes_user.html
@@ -58,6 +58,17 @@
{% endif %}
{% endblock %}
<br>
+ {% if messages %}
+ {% for message in messages %}
+ <div class="alert alert-dismissible alert-{{ message.tags }}">
+ <button type="button" class="close" data-dismiss="alert">
+ <i class="fa fa-close"></i>
+ </button>
+ <strong>{{ message }}</strong>
+ </div>
+ {% endfor %}
+ {% endif %}
+ <br>
{% if msg %}
<div class="alert alert-dismissible alert-warning">
<button type="button" class="close" data-dismiss="alert">