X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=libs%2Fcbi%2Fluasrc%2Fview%2Fcbi%2Fsimpleform.htm;fp=libs%2Fcbi%2Fluasrc%2Fview%2Fcbi%2Fsimpleform.htm;h=a0bb0f02b5333fbe3ae578076f4f8179cf47c414;hp=d927660da4d8cfa4106bcf0d0379223f5800c351;hb=6ba1aef019e891bf10bd4bdcb34cd61cf813f881;hpb=dc93bf1fcc3f64a0ab653c7c4904fe739c9e25b6 diff --git a/libs/cbi/luasrc/view/cbi/simpleform.htm b/libs/cbi/luasrc/view/cbi/simpleform.htm index d927660da..a0bb0f02b 100644 --- a/libs/cbi/luasrc/view/cbi/simpleform.htm +++ b/libs/cbi/luasrc/view/cbi/simpleform.htm @@ -33,17 +33,31 @@ $Id$ <%- end %> <% if not self.embedded then %>
+<%- + if type(self.hidden) == "table" then + for k, v in pairs(self.hidden) do +-%> + +<%- + end + end +%> <%- if self.flow and self.flow.skip then %> <% end %> <%- if self.submit ~= false then %> - <% end %> <%- if self.reset ~= false then %> - +<% end %> +<%- if self.cancel ~= false and self.on_cancel then %> + <% end %>