<% tab_index.inc() %>
</%def>
+<h1>Copy A Schema Between Databases</h1>
+
+<%def name="table_rows(tab_index)">
+ <%parent:table_rows tab_index="${tab_index}" args="tab_index">
+ ## A blank table row for spacing
+ <tr><td/><td/></tr>
+ <%
+ schema_row(tab_index)
+ from_db_row(tab_index)
+ to_db_row(tab_index)
+ overwrite_row(tab_index)
+ force_row(tab_index)
+ %>
+ </%parent:table_rows>
+</%def>
+
<%def name="submit(tab_index)">
<input value="Copy" tabindex="${tab_index.val}" type="submit" />
<% tab_index.inc() %>
</%def>
-<h1>Copy A Schema Between Databases</h1>
-
-<% tab_index = self.attr.TabIndex() %>
-<%self:main_form tab_index="${tab_index}" args="tab_index">
- ## A blank table row for spacing
- <tr><td/><td/></tr>
- <%
- schema_row(tab_index)
- from_db_row(tab_index)
- to_db_row(tab_index)
- overwrite_row(tab_index)
- force_row(tab_index)
- %>
-</%self:main_form>
+<%
+ tab_index = self.attr.TabIndex()
+ self.main_form(tab_index)
+%>