diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-10-19 04:03:36 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-10-19 04:03:36 +0000 |
commit | db46443478b27646fe58730ab2900d549509d0e1 (patch) | |
tree | edbeaffac1877d770c1683199256d3f4e7812382 /libs/web/luasrc | |
parent | cca45d0bdbd73919ef5e9637273c54bcbd1b7a82 (diff) |
libs/web: support different caption for button widgets
Diffstat (limited to 'libs/web/luasrc')
-rw-r--r-- | libs/web/luasrc/view/cbi/button.htm | 2 |
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 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 %> - <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 %> |