From 02f0a7cbb77b4bd1780a2ce9691857fdbebf211f Mon Sep 17 00:00:00 2001 From: Mo8it Date: Sat, 3 Dec 2022 17:42:25 +0100 Subject: [PATCH] Place the error message down --- templates/contact_form.askama.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/contact_form.askama.html b/templates/contact_form.askama.html index bd6877a..4654db0 100644 --- a/templates/contact_form.askama.html +++ b/templates/contact_form.askama.html @@ -1,10 +1,6 @@ {% extends "base.askama.html" %} {% block body %} - {% if error_message.len() > 0 %} - - {% endif %} -

{{ strings.description }}

{{ strings.title }}

@@ -63,6 +59,10 @@
{{ strings.captcha_field.invalid_feedback }}
+ {% if error_message.len() > 0 %} + + {% endif %} +