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 7e8467c..dcae798 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">