Browse Source

Move messages within the main landmark

Thibaud Colas 1 year ago
parent
commit
303fdff02b
1 changed files with 4 additions and 3 deletions
  1. 4 3
      bakerydemo/templates/base.html

+ 4 - 3
bakerydemo/templates/base.html

@@ -40,11 +40,12 @@
             {% breadcrumbs %}
             {% breadcrumbs %}
         {% endblock breadcrumbs %}
         {% endblock breadcrumbs %}
 
 
-        {% block messages %}
-            {% include "includes/messages.html" %}
-        {% endblock messages %}
 
 
         <main>
         <main>
+            {% block messages %}
+                {% include "includes/messages.html" %}
+            {% endblock messages %}
+
             {% block content %}
             {% block content %}
             {% endblock content %}
             {% endblock content %}
         </main>
         </main>