diff --git a/forms.tmpl b/forms.tmpl index 04397f4..e93fe49 100644 --- a/forms.tmpl +++ b/forms.tmpl @@ -180,6 +180,11 @@ # if isEdit: Delete Post
# end if + #if c.errorMsg != "": +
+ $c.errorMsg +
+ #end if
@@ -219,6 +224,11 @@ ${TextWidget(c, "antibot", "", maxlength=4)} + #if c.errorMsg != "": +
+ $c.errorMsg +
+ #end if #end proc diff --git a/main.tmpl b/main.tmpl index 5dccf05..67aa9c4 100644 --- a/main.tmpl +++ b/main.tmpl @@ -120,7 +120,7 @@ - #if c.errorMsg != "": + #if c.errorMsg != "" and c.req.pathInfo.normalizeUri == "/dologin": $c.errorMsg #end if