From 063a9529c49df5f21d83c973f501db09161542cd Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Mon, 25 Apr 2022 10:03:10 +0300 Subject: Implement file upload --- qc_app/templates/index.html | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'qc_app/templates/index.html') diff --git a/qc_app/templates/index.html b/qc_app/templates/index.html index ec45605..9a69bc5 100644 --- a/qc_app/templates/index.html +++ b/qc_app/templates/index.html @@ -5,7 +5,18 @@ {%block contents%}

upload file

-
+ + {%with messages = get_flashed_messages(with_categories=True) %} + {%if messages %} +
+ {%for category, message in messages %} + {{message}} + {%endfor%} +
+ {%endif%} + {%endwith%} +
file type -- cgit v1.2.3