From 95b5596e6e9f527d8c0941cd15f73b0c4a1f63fe Mon Sep 17 00:00:00 2001 From: Cameron Date: Tue, 20 Aug 2019 18:55:26 -0500 Subject: [PATCH] fixed flash --- app/templates/base.html | 2 ++ app/templates/index.html | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/templates/base.html b/app/templates/base.html index 7855ad9..bf24a62 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -19,6 +19,8 @@ {% for message in messages %}
  • {{ message }}
  • {% endfor %} + {% endif %} + {% endfor %} {% block content %}{% endblock %} diff --git a/app/templates/index.html b/app/templates/index.html index 8a7c7cd..2d04bad 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -5,6 +5,6 @@

    Hello, {{ user.username }}!

    {% for post in posts %}

    {{ post.author.username }} says: {{ post.body }}

    - {% endfor %} + {% endfor %} {% endblock %} \ No newline at end of file