From db46443478b27646fe58730ab2900d549509d0e1 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 19 Oct 2010 04:03:36 +0000 Subject: libs/web: support different caption for button widgets --- libs/web/luasrc/view/cbi/button.htm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/web/luasrc/view/cbi/button.htm b/libs/web/luasrc/view/cbi/button.htm index 5a5189794a..4edb4612a3 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 %> -- cgit v1.2.3