diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2014-06-11 14:00:09 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2014-06-11 14:00:09 +0000 |
commit | d4dc08dcb219a278a94e68aa87c13bca6361eeca (patch) | |
tree | a45570843d4d1cb6af11615674857bc23a5d4afb /modules/base/luasrc/view/cbi/fvalue.htm | |
parent | 8c866ce4527f22d413fca3a46691ea31c58154c5 (diff) |
Fix wrong directory in luci-base
Diffstat (limited to 'modules/base/luasrc/view/cbi/fvalue.htm')
-rw-r--r-- | modules/base/luasrc/view/cbi/fvalue.htm | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/base/luasrc/view/cbi/fvalue.htm b/modules/base/luasrc/view/cbi/fvalue.htm new file mode 100644 index 0000000000..a1e0808e8d --- /dev/null +++ b/modules/base/luasrc/view/cbi/fvalue.htm @@ -0,0 +1,9 @@ +<%+cbi/valueheader%> + <input type="hidden" value="1"<%= + attr("name", "cbi.cbe." .. self.config .. "." .. section .. "." .. self.option) + %> /> + <input class="cbi-input-checkbox" onclick="cbi_d_update(this.id)" onchange="cbi_d_update(this.id)" type="checkbox"<%= + attr("id", cbid) .. attr("name", cbid) .. attr("value", self.enabled or 1) .. + ifattr((self:cfgvalue(section) or self.default) == self.enabled, "checked", "checked") + %> /> +<%+cbi/valuefooter%> |