Use inheritance to properly wrap inheriting body
authorKarl O. Pinc <kop@karlpinc.com>
Tue, 30 Jul 2024 17:03:52 +0000 (12:03 -0500)
committerKarl O. Pinc <kop@karlpinc.com>
Tue, 30 Jul 2024 17:04:13 +0000 (12:04 -0500)
src/pgwui_develop/TEMPLATE/src/pgwui_TEMPLATE/templates/TEMPLATE.mak.makish

index 082c22e9deac546ebd05d5af4bd62c5ef634e961..3f4ff5af13ce748113efa6acdef2b3a8fc2122cb 100644 (file)
@@ -1,5 +1,5 @@
 < %% doc>
-  Copyright (C) 2015, 2018, 2020, 2021 The Meme Factory, Inc.
+  Copyright (C) 2015, 2018, 2020, 2021, 2024 The Meme Factory, Inc.
   http://www.karlpinc.com/
  
      This file is part of ${component}.
@@ -63,7 +63,7 @@
         </td>
         <td>
           <input name="example"
-                 tabindex="$ {tab_index}"
+                 tabindex="$ {tab_index.val}"
                  id="example_id"
                  type="text"
                  size="30"
@@ -71,9 +71,9 @@
                  />
         </td>
       </tr>
+      < %%  tab_index.inc() %% >
 </ %% def>
 
-< %%  form_elements = [example_row]
-   append_elements(form_elements)  %% >
-
-$ {parent.upload_form(form_elements)}
+< %% self:upload_form args="tab_index">
+  $ {example_row(tab_index)}
+</ %% self:upload_form>