From 3bea6c5e621626ce82e5a2c151fb4f8e77c780e9 Mon Sep 17 00:00:00 2001 From: Tony Date: Wed, 24 Nov 2021 16:23:25 -0600 Subject: [PATCH] add information to successpage (will now list errors) --- templates/success.html | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/templates/success.html b/templates/success.html index e83e9e8..ef2da08 100644 --- a/templates/success.html +++ b/templates/success.html @@ -5,13 +5,20 @@ - + - Success! Redirecting... - {% for error in errors %} - error - {% endfor %} + {% if errors %} + Errors... + {% for error in errors %} + error + {% endfor %} + + {% else %} + Success! + {% endif %} + Redirecting... + {% endblock %} \ No newline at end of file