From 651589d69091c0bd6a554d1f47133121679615ed Mon Sep 17 00:00:00 2001 From: Alejandro Sirgo Rica Date: Tue, 11 Jun 2024 10:24:48 +0200 Subject: templates: fix error report with multiple messages Fix the definition of javascript code to generate a correct message window for multiple error messages. The error is cause by a redefinition of 'let bgclass' in multiple lines when the html template receives multiple error messages. Each iteration to generate the code for the error messages tries to redefine the variable bgclass and it causes the js to fail. --- ogcp/templates/base.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'ogcp/templates') diff --git a/ogcp/templates/base.html b/ogcp/templates/base.html index f43f4bd..0037f79 100644 --- a/ogcp/templates/base.html +++ b/ogcp/templates/base.html @@ -115,8 +115,9 @@ {% block extrabody %}{% endblock %} -- cgit v1.2.3-18-g5258