%
require("ffluci.model.uci")
local allsections = ffluci.model.uci.show(map)
local sections = {}
for k, v in pairs(allsections) do
if v[".type"] == sectiontype then
sections[k] = v
end
end
%>
<%=title%>
<%=description%>
<% for k, v in pairs(sections) do %>
<% for k, node in ipairs(children) do
node.section = k
node:render(k)
end %>