Fix wrong directory in luci-base
[project/luci.git] / modules / base / luasrc / view / cbi / button.htm
diff --git a/modules/base/luasrc/view/cbi/button.htm b/modules/base/luasrc/view/cbi/button.htm
new file mode 100644 (file)
index 0000000..30f8ddf
--- /dev/null
@@ -0,0 +1,7 @@
+<%+cbi/valueheader%>
+       <% if self:cfgvalue(section) ~= false then %>
+               <input class="cbi-button cbi-input-<%=self.inputstyle or "button" %>" type="submit"<%= attr("name", cbid) .. attr("id", cbid) .. attr("value", self.inputtitle or self.title)%> />
+       <% else %>
+               -
+       <% end %>
+<%+cbi/valuefooter%>