From 793e422c1049f86ac3c2ec10ecaa378eef440af1 Mon Sep 17 00:00:00 2001 From: Nils Schneider Date: Sat, 9 Aug 2014 09:59:38 +0200 Subject: [PATCH] luci: add label to fvalue --- ...-fvalue.html-add-label-that-can-be-styled.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 patches/packages/luci/0005-fvalue.html-add-label-that-can-be-styled.patch diff --git a/patches/packages/luci/0005-fvalue.html-add-label-that-can-be-styled.patch b/patches/packages/luci/0005-fvalue.html-add-label-that-can-be-styled.patch new file mode 100644 index 00000000..8a1e00a2 --- /dev/null +++ b/patches/packages/luci/0005-fvalue.html-add-label-that-can-be-styled.patch @@ -0,0 +1,14 @@ +From: Nils Schneider +Date: Sat, 9 Aug 2014 09:33:21 +0200 +Subject: fvalue.html: add label that can be styled + +diff --git a/modules/base/luasrc/view/cbi/fvalue.htm b/modules/base/luasrc/view/cbi/fvalue.htm +index a1e0808..a324ab2 100644 +--- a/modules/base/luasrc/view/cbi/fvalue.htm ++++ b/modules/base/luasrc/view/cbi/fvalue.htm +@@ -6,4 +6,5 @@ + 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%>