From: Karl O. Pinc Date: Thu, 1 Aug 2024 22:24:14 +0000 (-0500) Subject: Move table rows into their own %def X-Git-Url: https://papio.biology.duke.edu/gitweb/?a=commitdiff_plain;h=8c5ebda682977cb0209af3fbb4ff62674f1312e7;p=pgwui_copy Move table rows into their own %def --- diff --git a/src/pgwui_copy/templates/copy.mak b/src/pgwui_copy/templates/copy.mak index 24449d5..1321ef4 100644 --- a/src/pgwui_copy/templates/copy.mak +++ b/src/pgwui_copy/templates/copy.mak @@ -157,22 +157,28 @@ <% tab_index.inc() %> +

Copy A Schema Between Databases

+ +<%def name="table_rows(tab_index)"> + <%parent:table_rows tab_index="${tab_index}" args="tab_index"> + ## A blank table row for spacing + + <% + schema_row(tab_index) + from_db_row(tab_index) + to_db_row(tab_index) + overwrite_row(tab_index) + force_row(tab_index) + %> + + + <%def name="submit(tab_index)"> <% tab_index.inc() %> -

Copy A Schema Between Databases

- -<% tab_index = self.attr.TabIndex() %> -<%self:main_form tab_index="${tab_index}" args="tab_index"> - ## A blank table row for spacing - - <% - schema_row(tab_index) - from_db_row(tab_index) - to_db_row(tab_index) - overwrite_row(tab_index) - force_row(tab_index) - %> - +<% + tab_index = self.attr.TabIndex() + self.main_form(tab_index) +%>