diff options
Diffstat (limited to 'libs')
-rw-r--r-- | libs/cbi/luasrc/view/cbi/ucisection.htm | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libs/cbi/luasrc/view/cbi/ucisection.htm b/libs/cbi/luasrc/view/cbi/ucisection.htm index 5504a7476c..54115f6243 100644 --- a/libs/cbi/luasrc/view/cbi/ucisection.htm +++ b/libs/cbi/luasrc/view/cbi/ucisection.htm @@ -13,6 +13,16 @@ $Id$ -%> +<%- + if type(self.hidden) == "table" then + for k, v in pairs(self.hidden) do +-%> + <input type="hidden" name="cbid.<%=self.config%>.<%=section%>.<%=k%>" value="<%=luci.util.pcdata(v)%>" /> +<%- + end + end +%> + <% self:render_children(section, scope or {}) %> <% if self.error and self.error[section] then -%> |