From fb7aea55e89c4484aa14460bb788285c36d15d3c Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 11 Jan 2009 03:44:04 +0000 Subject: [PATCH] libs/cbi: add support for hidden form fields in sections --- libs/cbi/luasrc/view/cbi/ucisection.htm | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/libs/cbi/luasrc/view/cbi/ucisection.htm b/libs/cbi/luasrc/view/cbi/ucisection.htm index 5504a7476..54115f624 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 +-%> + +<%- + end + end +%> + <% self:render_children(section, scope or {}) %> <% if self.error and self.error[section] then -%> -- 2.11.0