From: Jo-Philipp Wich Date: Tue, 19 Oct 2010 04:03:36 +0000 (+0000) Subject: libs/web: support different caption for button widgets X-Git-Tag: 0.10.0~594 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=db46443478b27646fe58730ab2900d549509d0e1;p=oweals%2Fluci.git libs/web: support different caption for button widgets --- diff --git a/libs/web/luasrc/view/cbi/button.htm b/libs/web/luasrc/view/cbi/button.htm index 5a5189794..4edb4612a 100644 --- a/libs/web/luasrc/view/cbi/button.htm +++ b/libs/web/luasrc/view/cbi/button.htm @@ -14,7 +14,7 @@ $Id$ -%> <%+cbi/valueheader%> <% if self:cfgvalue(section) ~= false then %> - " type="submit"<%= attr("name", cbid) .. attr("id", cbid) .. attr("value", self.title)%> /> + " type="submit"<%= attr("name", cbid) .. attr("id", cbid) .. attr("value", self.inputtitle or self.title)%> /> <% else %> - <% end %>