0
0
mirror of https://github.com/openwrt/luci.git synced 2025-02-23 14:46:18 +00:00
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

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