Use table row abstractions
authorKarl O. Pinc <kop@karlpinc.com>
Sat, 3 Aug 2024 21:18:21 +0000 (16:18 -0500)
committerKarl O. Pinc <kop@karlpinc.com>
Sat, 3 Aug 2024 21:18:21 +0000 (16:18 -0500)
src/pgwui_develop/TEMPLATE/src/pgwui_TEMPLATE/templates/TEMPLATE.mak.makish

index 7435018be2a405efa1508c767fb378d897c2c7b2..bc9b7b4062c66ae5ef0acb928ddf328deb1cfcd5 100644 (file)
 
 < %% def name="example_row(tab_index)">
       <tr>
-        <td class="label">
-          <label for="example_id">Example:</label>
-        </td>
-        <td>
+        < %% self.lib:td_label for_id="example_id">Example</ %% self.lib:td_label>
+        < %% self.lib:td_input tab_index="${tab_index}">
           <input name="example"
                  tabindex="$ {tab_index.val}"
                  id="example_id"
@@ -71,9 +69,8 @@
                  size="30"
                  value="$ {example}"
                  />
-        </td>
+        </ %% self.lib:td_input>
       </tr>
-      < %%  tab_index.inc() %% >
 </ %% def>
 
 < %%  tab_index = self.attr.TabIndex()  %% >