libs/cbi: Use labels instead of divs for field titles
authorSteven Barth <steven@midlink.org>
Sun, 6 Jul 2008 11:24:20 +0000 (11:24 +0000)
committerSteven Barth <steven@midlink.org>
Sun, 6 Jul 2008 11:24:20 +0000 (11:24 +0000)
libs/cbi/luasrc/view/cbi/full_valueheader.htm

index 062efa2dddc7f4e76f98ae2992ebc80e77e518de..36b0526f8e575a629fcb9625b8f0b7fa35478e3e 100644 (file)
@@ -1,3 +1,3 @@
                                                <div class="cbi-value" id="cbi-<%=self.config.."-"..section.."-"..self.option%>">
-                                                       <div class="cbi-value-title"><%=self.title%></div>
+                                                       <label for="cbid.<%=self.config.."."..section.."."..self.option%>" class="cbi-value-title"><%=self.title%></label>
                                                        <div class="cbi-value-field">
\ No newline at end of file