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 062efa2..36b0526 100644 (file)
@@ -1,3 +1,3 @@
                                                <div class="cbi-value" id="cbi-<%=self.config.."-"..section.."-"..self.option%>">
                                                <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
                                                        <div class="cbi-value-field">
\ No newline at end of file