From 19345c6b724f4494512bf7a125d5b21090ed83f9 Mon Sep 17 00:00:00 2001 From: "Karl O. Pinc" Date: Sun, 4 Aug 2024 22:27:31 -0500 Subject: [PATCH] Eliminate most of the core upload settings from the rendered template Redefine the table_rows def to skip the pgwui_upload_core version. --- src/pgwui_upcen/templates/upcen.mak | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/pgwui_upcen/templates/upcen.mak b/src/pgwui_upcen/templates/upcen.mak index d287c44..d4dbf6f 100644 --- a/src/pgwui_upcen/templates/upcen.mak +++ b/src/pgwui_upcen/templates/upcen.mak @@ -58,6 +58,18 @@ Upload Census Data + +<%def name="table_rows(tab_index)"> + ## Skip over the pgwui_upload_core's template + <%parent:parent_table_rows tab_index="${tab_index}" args="tab_index"> + <% + caller.body(tab_index) + self.format_row(tab_index) + self.file_row(tab_index) + %> + + + <% tab_index = self.attr.TabIndex() self.main_form(tab_index) -- 2.34.1