2
0

fvalue.htm 383 B

123456789101112
  1. <%+cbi/valueheader%>
  2. <div<%=attr("data-ui-widget", luci.util.serialize_json({
  3. "Checkbox", self:cfgvalue(section) or self.default, {
  4. id = cbid,
  5. name = cbid,
  6. readonly = self.readonly,
  7. hiddenname = "cbi.cbe." .. self.config .. "." .. section .. "." .. self.option,
  8. value_enabled = self.enabled or 1,
  9. value_disabled = self.disabled or 0
  10. }
  11. }))%>></div>
  12. <%+cbi/valuefooter%>