Use table row abstractions
authorKarl O. Pinc <kop@karlpinc.com>
Sat, 3 Aug 2024 21:06:15 +0000 (16:06 -0500)
committerKarl O. Pinc <kop@karlpinc.com>
Sat, 3 Aug 2024 21:06:15 +0000 (16:06 -0500)
src/pgwui_upload/templates/upload.mak

index f6c4025a5fc79ae6f0ddc583e08741a3332625eb..ebd7005a20aee9e082d736d39e21a45c7327ccf4 100644 (file)
 
 <%def name="table_row(tab_index)">
       <tr>
-        <td class="label">
-          <label for="table_id">Table or View:</label>
-        </td>
-        <td>
+        <%self.lib:td_label for_id="table_id">
+          Table or View
+        </%self.lib:td_label>
+        <%self.lib:td_input tab_index="${tab_index}">
           <input name="table"
                  tabindex="${tab_index.val}"
                  id="table_id"
@@ -71,9 +71,8 @@
                  size="30"
                  value="${table}"
                  />
-        </td>
+        </%self.lib:td_input>
       </tr>
-      <% tab_index.inc() %>
 </%def>
 
 <%def name="table_rows(tab_index)">