0001-fvalue.html-add-label-that-can-be-styled.patch 630 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 a1e0808..a324ab2 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%>