projects
/
pgwui_upcen
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd67194
)
Eliminate most of the core upload settings from the rendered template
author
Karl O. Pinc
<kop@karlpinc.com>
Mon, 5 Aug 2024 03:27:31 +0000
(22:27 -0500)
committer
Karl O. Pinc
<kop@karlpinc.com>
Mon, 5 Aug 2024 03:27:31 +0000
(22:27 -0500)
Redefine the table_rows def to skip the pgwui_upload_core version.
src/pgwui_upcen/templates/upcen.mak
patch
|
blob
|
history
diff --git
a/src/pgwui_upcen/templates/upcen.mak
b/src/pgwui_upcen/templates/upcen.mak
index d287c44fa2c321e5a2f9a7fbdcdc74e1b4c31cdd..d4dbf6f9c2234cb9c166a217896a5f322c1c4bf2 100644
(file)
--- a/
src/pgwui_upcen/templates/upcen.mak
+++ b/
src/pgwui_upcen/templates/upcen.mak
@@
-58,6
+58,18
@@
Upload Census Data
</%block>
+
+<%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)
+ %>
+ </%parent:parent_table_rows>
+</%def>
+
<%
tab_index = self.attr.TabIndex()
self.main_form(tab_index)