gluon/patches/packages/luci/0001-fvalue.html-add-label-that-can-be-styled.patch

15 lines
630 B
Diff
Raw Normal View History

2014-08-09 07:59:38 +00:00
From: Nils Schneider <nils@nilsschneider.net>
Date: Sat, 9 Aug 2014 09:33:21 +0200
Subject: fvalue.html: add label that can be styled
2015-05-21 23:09:19 +00:00
diff --git a/modules/luci-base/luasrc/view/cbi/fvalue.htm b/modules/luci-base/luasrc/view/cbi/fvalue.htm
2014-08-09 07:59:38 +00:00
index a1e0808..a324ab2 100644
2015-05-21 23:09:19 +00:00
--- a/modules/luci-base/luasrc/view/cbi/fvalue.htm
+++ b/modules/luci-base/luasrc/view/cbi/fvalue.htm
2014-08-09 07:59:38 +00:00
@@ -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")
%> />
+ <label<%= attr("for", cbid)%>></label>
<%+cbi/valuefooter%>