0001-fvalue.html-add-label-that-can-be-styled.patch 696 B

1234567891011121314
  1. From: Nils Schneider <nils@nilsschneider.net>
  2. Date: Sat, 9 Aug 2014 09:33:21 +0200
  3. Subject: fvalue.html: add label that can be styled
  4. diff --git a/modules/luci-base/luasrc/view/cbi/fvalue.htm b/modules/luci-base/luasrc/view/cbi/fvalue.htm
  5. index a1e0808e8d3e8bf1845d4838b244ed6bb0b605f2..a324ab258a86b080f9bf285aa62ee4db43468a81 100644
  6. --- a/modules/luci-base/luasrc/view/cbi/fvalue.htm
  7. +++ b/modules/luci-base/luasrc/view/cbi/fvalue.htm
  8. @@ -6,4 +6,5 @@
  9. attr("id", cbid) .. attr("name", cbid) .. attr("value", self.enabled or 1) ..
  10. ifattr((self:cfgvalue(section) or self.default) == self.enabled, "checked", "checked")
  11. %> />
  12. + <label<%= attr("for", cbid)%>></label>
  13. <%+cbi/valuefooter%>