summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-10-19 04:03:36 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-10-19 04:03:36 +0000
commitdb46443478b27646fe58730ab2900d549509d0e1 (patch)
treeedbeaffac1877d770c1683199256d3f4e7812382
parentcca45d0bdbd73919ef5e9637273c54bcbd1b7a82 (diff)
libs/web: support different caption for button widgets
-rw-r--r--libs/web/luasrc/view/cbi/button.htm2
1 files changed, 1 insertions, 1 deletions
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 %>
- <input class="cbi-input-<%=self.inputstyle or "button" %>" type="submit"<%= attr("name", cbid) .. attr("id", cbid) .. attr("value", self.title)%> />
+ <input class="cbi-input-<%=self.inputstyle or "button" %>" type="submit"<%= attr("name", cbid) .. attr("id", cbid) .. attr("value", self.inputtitle or self.title)%> />
<% else %>
-
<% end %>