From fa6b0eb2215d599f54a730e2cd609b78f82aa02e Mon Sep 17 00:00:00 2001 From: "Karl O. Pinc" Date: Sun, 4 Aug 2024 22:23:24 -0500 Subject: [PATCH] Add support for skipping the table_rows def, and call the parent template --- src/pgwui_upload_core/templates/upload.mak | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/pgwui_upload_core/templates/upload.mak b/src/pgwui_upload_core/templates/upload.mak index 3fe36fd..c6b060a 100644 --- a/src/pgwui_upload_core/templates/upload.mak +++ b/src/pgwui_upload_core/templates/upload.mak @@ -185,3 +185,11 @@ %> + +## 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)} + + -- 2.34.1