luci-0.9: merge r5269
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 29 Mar 2010 01:13:37 +0000 (01:13 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 29 Mar 2010 01:13:37 +0000 (01:13 +0000)
libs/cbi/luasrc/view/cbi/ucisection.htm

index 7e8467cfc4ed38857122ec547c6353ea5b61432c..dcae798b093e788ff449ea2e850dcea7ad902d2c 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">