Test for null input in the null input template code
authorKarl O. Pinc <kop@karlpinc.com>
Tue, 30 Jul 2024 20:45:14 +0000 (15:45 -0500)
committerKarl O. Pinc <kop@karlpinc.com>
Tue, 30 Jul 2024 20:54:38 +0000 (15:54 -0500)
src/pgwui_upload/templates/upload.mak

index 5b25c34e8fc9c92793c41807ef6541e6be437709..680a8363f02f4755704062c00abc78ae30c383f7 100644 (file)
@@ -30,7 +30,6 @@
 
 
 <%!
-    from pgwui_upload_core.template_utils import show_choice
     from pgwui_common.path import asset_abspath
 
     upload_base_mak = asset_abspath('pgwui_upload_core:templates/upload.mak')
@@ -75,7 +74,6 @@
       <% tab_index.inc() %>
 </%def>
 
-<%self:upload_form upload_nulls="${show_choice(pgwui, 'null')}"
-                   args="tab_index">
+<%self:upload_form args="tab_index">
   ${table_row(tab_index)}
 </%self:upload_form>