From c77b02cdf329b2831775aa37868eb20febdcc842 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Mon, 7 Feb 2022 19:48:08 -0500 Subject: [PATCH] Show messages in base template --- templates/base.dj.html | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/templates/base.dj.html b/templates/base.dj.html index 1c2bbc9..e59a903 100644 --- a/templates/base.dj.html +++ b/templates/base.dj.html @@ -43,6 +43,17 @@ + {% if messages %} +
+ {% for message in messages %} + {# TODO: should use tags correctly for bootstrap alerts #} + + {% endfor %} +
+ {% endif %}
{% block content %}{% endblock %}