From acb6fba4a21ea9d9e55ea0fb976934af38d74afb Mon Sep 17 00:00:00 2001 From: "Karl O. Pinc" Date: Mon, 18 Jan 2021 15:27:48 -0600 Subject: [PATCH] Add param to force display of "caution: prior errors" msg --- src/pgwui_common/templates/auth_base.mak | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pgwui_common/templates/auth_base.mak b/src/pgwui_common/templates/auth_base.mak index d1ed494..fc4fa5a 100644 --- a/src/pgwui_common/templates/auth_base.mak +++ b/src/pgwui_common/templates/auth_base.mak @@ -88,7 +88,7 @@ % endif -<%def name="error_items(errors, sepclass='errorsep')"> +<%def name="error_items(errors, sepclass='errorsep', caution=False)"> % for error in errors: ## Get error attributes @@ -118,7 +118,7 @@

% if lineno: - % if not loop.first: + % if caution or not loop.first:

CAUTION -- This error may not be real; prior uploaded row(s) were rejected:

-- 2.34.1