From: Magnus Hagander Date: Fri, 21 Nov 2025 09:07:32 +0000 (+0100) Subject: Show non field errors in base form template X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=bb7cac0a9858cad711cf72d785ea68317e1e24c5;p=pgweb.git Show non field errors in base form template --- diff --git a/templates/base/form_contents.html b/templates/base/form_contents.html index 3d110c72..9a00c216 100644 --- a/templates/base/form_contents.html +++ b/templates/base/form_contents.html @@ -5,6 +5,9 @@ Please correct the errors below, and re-submit the form. {%endif%} +{%for e in form.non_field_errors %} +
{{e}}
+{%endfor%} {%if form.fieldsets%} {%for fieldset in form.fieldsets%}