Add param to force display of "caution: prior errors" msg
authorKarl O. Pinc <kop@karlpinc.com>
Mon, 18 Jan 2021 21:27:48 +0000 (15:27 -0600)
committerKarl O. Pinc <kop@karlpinc.com>
Mon, 18 Jan 2021 21:27:48 +0000 (15:27 -0600)
src/pgwui_common/templates/auth_base.mak

index d1ed494117f63ea190c213b4c307c8dc7af79e86..fc4fa5aaee9fe2feea1c0562e1e667b435206055 100644 (file)
@@ -88,7 +88,7 @@
   % endif
 </%def>
 
-<%def name="error_items(errors, sepclass='errorsep')">
+<%def name="error_items(errors, sepclass='errorsep', caution=False)">
   % for error in errors:
 
       ## Get error attributes
       <p>
 
       % if lineno:
-          % if not loop.first:
+          % if caution or not loop.first:
               <div class="notfirstcaution">CAUTION -- This error may not be
               real; prior uploaded row(s) were rejected:</div>
              <br />