libs/web: support different caption for button widgets

This commit is contained in:
Jo-Philipp Wich 2010-10-19 04:03:36 +00:00
parent cca45d0bdb
commit db46443478

View file

@ -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 %>