From 823d875863d907925e13c2e907f1a0382edf61ac Mon Sep 17 00:00:00 2001 From: adityacp Date: Wed, 29 Jan 2020 09:56:26 +0530 Subject: Add django messages to show enrollment message for student --- yaksh/templates/yaksh/quizzes_user.html | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'yaksh/templates') 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 %}
+ {% if messages %} + {% for message in messages %} +
+ + {{ message }} +
+ {% endfor %} + {% endif %} +
{% if msg %}