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=7e8467cfc4ed38857122ec547c6353ea5b61432c;hb=7c0ea176236eb4232303fbc60aabb2e0448a169f;hpb=dfbd41b2dcc7923c096a85b697f65f09ebe88717;ds=sidebyside diff --git a/libs/cbi/luasrc/view/cbi/ucisection.htm b/libs/cbi/luasrc/view/cbi/ucisection.htm index 7e8467cfc..a8b313d36 100644 --- a/libs/cbi/luasrc/view/cbi/ucisection.htm +++ b/libs/cbi/luasrc/view/cbi/ucisection.htm @@ -17,17 +17,21 @@ $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.tabs then %> + <%+cbi/tabcontainer%> +<% else %> + <% self:render_children(section, scope or {}) %> +<% end %> <% if self.error and self.error[section] then -%>
- +
<%- end %>