Fix html to remove spurious td tags
authorKarl O. Pinc <kop@karlpinc.com>
Tue, 8 Oct 2024 17:18:21 +0000 (12:18 -0500)
committerKarl O. Pinc <kop@karlpinc.com>
Tue, 8 Oct 2024 17:18:21 +0000 (12:18 -0500)
src/pgwui_sql/templates/sql.mak

index 6b9915d4e18cfd94989a6e1fa05293cc9952260d..868ac5a2393596d89119728205e1b6a742a81333 100644 (file)
     <div class="stickyfooting">
       <hr>
       <span class="stickyrightbar">
-        <%self.lib:td_label for_id="show_rules_id">
+        <%self.lib:label for_id="show_rules_id">
           Show rules
-        </%self.lib:td_label>
-        <%self.lib:td_input tab_index="${tab_index}">
-          <input name="show_rules"
-                 id="show_rules_id"
-                 tabindex="${tab_index.val}"
-                 type="checkbox"
-                 ${show_rules | n}
-                 onchange="rulesDisplay(this.checked)"
-          />
-        </%self.lib:td_input>
-
-        <%self.lib:td_label for_id="show_spaces_id">
+        </%self.lib:label>
+        <input name="show_rules"
+               id="show_rules_id"
+               tabindex="${tab_index.val}"
+               type="checkbox"
+               ${show_rules | n}
+               onchange="rulesDisplay(this.checked)"
+        />
+        <% tab_index.inc() %>
+
+        <%self.lib:label for_id="show_spaces_id">
           Show spaces
-        </%self.lib:td_label>
-        <%self.lib:td_input tab_index="${tab_index}">
-          <input name="show_spaces"
-                 id="show_spaces_id"
-                 tabindex="${tab_index.val}"
-                 type="checkbox"
-                 ${show_spaces | n}
-                 onchange="whitespaceDisplay(this.checked)"
-          />
-        </%self.lib:td_input>
+        </%self.lib:label>
+        <input name="show_spaces"
+               id="show_spaces_id"
+               tabindex="${tab_index.val}"
+               type="checkbox"
+               ${show_spaces | n}
+               onchange="whitespaceDisplay(this.checked)"
+        />
+        <% tab_index.inc() %>
+
       </span>
     </div>
   </div>