diff --git a/website/education/templates/education/add_exam.html b/website/education/templates/education/add_exam.html index 3c306473ee0833bd61d43ffb67777a2b5aaf81b9..51c1e557e47a4ff0041955728b75a52244253460 100644 --- a/website/education/templates/education/add_exam.html +++ b/website/education/templates/education/add_exam.html @@ -12,9 +12,10 @@ {% trans "Submit Exam" %} - {% if saved %} - {% trans "Exam submitted successfully." as success_text %} - {% alert 'success' success_text dismissable=True %} + {% if messages %} + {% for message in messages %} + {% alert message.tags message dismissable=True %} + {% endfor %} {% endif %}