projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
libs/cbi: implement tabbing to split large sections and group options in tabs
[project/luci.git]
/
libs
/
cbi
/
luasrc
/
view
/
cbi
/
ucisection.htm
diff --git
a/libs/cbi/luasrc/view/cbi/ucisection.htm
b/libs/cbi/luasrc/view/cbi/ucisection.htm
index
241681f
..
a8b313d
100644
(file)
--- a/
libs/cbi/luasrc/view/cbi/ucisection.htm
+++ b/
libs/cbi/luasrc/view/cbi/ucisection.htm
@@
-23,7
+23,11
@@
$Id$
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 -%>
<div class="cbi-section-error">
<% if self.error and self.error[section] then -%>
<div class="cbi-section-error">