From 00baa0ccc5971b3e579345748dafc59c4b6a9907 Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Thu, 3 Jun 2021 22:43:10 +0530 Subject: Added Templates * Contact Us form * Base Index * Flash error template --- app/templates/flash_messages.html | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 app/templates/flash_messages.html (limited to 'app/templates/flash_messages.html') diff --git a/app/templates/flash_messages.html b/app/templates/flash_messages.html new file mode 100644 index 0000000..b524c24 --- /dev/null +++ b/app/templates/flash_messages.html @@ -0,0 +1,7 @@ +{% with messages = get_flashed_messages(with_categories=true) %} + {% if messages %} + {% for category, message in messages %} +
{{ message }}
+ {% endfor %} + {% endif %} +{% endwith %} \ No newline at end of file -- cgit v1.2.3