From 1c11876cc8fbb403ec2e375f9aec157f5f2196c8 Mon Sep 17 00:00:00 2001 From: eclipse Date: Fri, 18 Apr 2025 20:54:17 +0200 Subject: [PATCH] display success or error messages --- the_works/templates/_messages.html | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 the_works/templates/_messages.html diff --git a/the_works/templates/_messages.html b/the_works/templates/_messages.html new file mode 100644 index 0000000..dae3300 --- /dev/null +++ b/the_works/templates/_messages.html @@ -0,0 +1,11 @@ +
+{% with messages = get_flashed_messages(with_categories=true) %} + {% if messages %} + + {% endif %} +{% endwith %} +
\ No newline at end of file