X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=libs%2Fcbi%2Fluasrc%2Fview%2Fcbi%2Fucisection.htm;h=a8b313d366fbf11e53b295500572a1d0b1268366;hp=5d53436ce1106944654af1c8f6de3cde4f36f7b3;hb=7c0ea176236eb4232303fbc60aabb2e0448a169f;hpb=712424dc0cf17a60f3d77024b892cc04146f6295 diff --git a/libs/cbi/luasrc/view/cbi/ucisection.htm b/libs/cbi/luasrc/view/cbi/ucisection.htm index 5d53436ce..a8b313d36 100644 --- a/libs/cbi/luasrc/view/cbi/ucisection.htm +++ b/libs/cbi/luasrc/view/cbi/ucisection.htm @@ -13,11 +13,25 @@ $Id$ -%> -<% self:render_children(section, scope or {}) %> +<%- + if type(self.hidden) == "table" then + for k, v in pairs(self.hidden) do +-%> + +<%- + end + end +%> + +<% if self.tabs then %> + <%+cbi/tabcontainer%> +<% else %> + <% self:render_children(section, scope or {}) %> +<% end %> <% if self.error and self.error[section] then -%>
- +
<%- end %> @@ -43,7 +57,7 @@ $Id$