From: Karl O. Pinc Date: Tue, 30 Jul 2024 16:46:13 +0000 (-0500) Subject: Use inheritance to properly wrap inheriting body X-Git-Url: https://papio.biology.duke.edu/gitweb/?a=commitdiff_plain;h=11014bd75aea032a5f08ffd6f38c0914ef091656;p=pgwui_upload_core Use inheritance to properly wrap inheriting body --- diff --git a/src/pgwui_upload_core/templates/upload.mak b/src/pgwui_upload_core/templates/upload.mak index a53c247..0daf3f7 100644 --- a/src/pgwui_upload_core/templates/upload.mak +++ b/src/pgwui_upload_core/templates/upload.mak @@ -26,10 +26,6 @@ ask_about_literal_cols - It makes available: - - append_elements(elementlist) Adds form elements to the end of the list - @@ -83,7 +79,11 @@ % endif -<%def name="append_elements(form_elements)"> - <% form_elements.append(trim_row) %> - <% form_elements.append(literal_row) %> - +<%self:upload_form upload_nulls="${show_choice(pgwui, 'null')}" + args="tab_index"> + <%parent:upload_form upload_nulls="${upload_nulls}" args="tab_index"> + ${caller.body(tab_index)} + ${trim_row(tab_index)} + ${literal_row(tab_index)} + +