* luci-0.8: merge template changes from trunk
[project/luci.git] / libs / cbi / luasrc / view / cbi / button.htm
index c2a0d437e8ed31b4badbb9540adbdb90267bb555..c6606622d693ddd586317b1c3525017206a1b846 100644 (file)
@@ -14,7 +14,7 @@ $Id$
 -%>
 <%+cbi/valueheader%>
        <% if self:cfgvalue(section) ~= false then %>
-               <input<% if self.inputstyle then %> class="cbi-input-<%=self.inputstyle%>"<% end %> 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.title)%> />
        <% else %>
                -
        <% end %>