libs/cbi: implement tabbing to split large sections and group options in tabs
[project/luci.git] / libs / cbi / luasrc / view / cbi / ucisection.htm
index 241681f..a8b313d 100644 (file)
@@ -23,7 +23,11 @@ $Id$
        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 -%>
        <div class="cbi-section-error">