commit 4f6198094cf4134179d1f9c9fa8f79759a27c87e
[project/luci.git] / libs / cbi / luasrc / view / cbi / fvalue.htm
diff --git a/libs/cbi/luasrc/view/cbi/fvalue.htm b/libs/cbi/luasrc/view/cbi/fvalue.htm
new file mode 100644 (file)
index 0000000..b609f1d
--- /dev/null
@@ -0,0 +1,3 @@
+<%+cbi/valueheader%>
+                                                               <input onchange="cbi_d_update(this.id)" type="checkbox" id="cbid.<%=self.config.."."..section.."."..self.option%>" name="cbid.<%=self.config.."."..section.."."..self.option%>"<% if self:cfgvalue(section) == self.enabled then %> checked="checked"<% end %> value="1" />
+<%+cbi/valuefooter%>
\ No newline at end of file