Let table data span columns
authorKarl O. Pinc <kop@karlpinc.com>
Mon, 19 Aug 2024 19:21:53 +0000 (14:21 -0500)
committerKarl O. Pinc <kop@karlpinc.com>
Mon, 19 Aug 2024 19:21:53 +0000 (14:21 -0500)
src/pgwui_common/templates/lib.mak

index 77f5588aedcad910078dcd8273f73fd6d6e770ec..fc06352eb310be510c785abdff1656c1f849f481 100644 (file)
@@ -49,7 +49,7 @@
         </td>
 </%def>
 
-<%def name="td_input(tab_index, tab_inc=1)">
-        <td>${caller.body()}</td>
+<%def name="td_input(tab_index, tab_inc=1, colspan=1)">
+        <td colspan="${colspan}">${caller.body()}</td>
         <% tab_index.inc(tab_inc) %>
 </%def>