projects
/
pgwui_upload_core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8f5611
)
Add support for skipping the table_rows def, and call the parent template
author
Karl O. Pinc
<kop@karlpinc.com>
Mon, 5 Aug 2024 03:23:24 +0000
(22:23 -0500)
committer
Karl O. Pinc
<kop@karlpinc.com>
Mon, 5 Aug 2024 03:23:24 +0000
(22:23 -0500)
src/pgwui_upload_core/templates/upload.mak
patch
|
blob
|
history
diff --git
a/src/pgwui_upload_core/templates/upload.mak
b/src/pgwui_upload_core/templates/upload.mak
index 3fe36fd8864a83a2e68220d051a8d6dea8cb1b34..c6b060a7fc1aab76784e5cdc9758d4e1dd6d5072 100644
(file)
--- a/
src/pgwui_upload_core/templates/upload.mak
+++ b/
src/pgwui_upload_core/templates/upload.mak
@@
-185,3
+185,11
@@
%>
</%parent:table_rows>
</%def>
+
+## Using this allows an inheriting template to skip over the table_rows
+## defined in this template.
+<%def name="parent_table_rows(tab_index)">
+ <%parent:table_rows tab_index="${tab_index}" args="tab_index">
+ ${caller.body(tab_index)}
+ </%parent:table_rows>
+</%def>