luci/modules/luci-compat/luasrc/view/cbi/button.htm
Florian Eckert 133a1ae3f4 luci-compat: add btn class to all button inputs
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-07-20 16:23:46 +02:00

7 lines
302 B
HTML

<%+cbi/valueheader%>
<% if self:cfgvalue(section) ~= false then %>
<input class="btn cbi-button cbi-button-<%=self.inputstyle or "button" %>" type="submit"<%= attr("name", cbid) .. attr("id", cbid) .. attr("value", self.inputtitle or self.title)%> />
<% else %>
-
<% end %>
<%+cbi/valuefooter%>