From: Karl O. Pinc Date: Mon, 18 Jan 2021 21:27:48 +0000 (-0600) Subject: Add param to force display of "caution: prior errors" msg X-Git-Url: https://papio.biology.duke.edu/gitweb/?a=commitdiff_plain;h=acb6fba4a21ea9d9e55ea0fb976934af38d74afb;p=pgwui_common Add param to force display of "caution: prior errors" msg --- 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: