<%- if firstmap and messages then local msg; for _, msg in ipairs(messages) do -%>
<%=pcdata(msg)%>
<%- end end -%>
<% if self.title and #self.title > 0 then %>

<%=self.title%>

<% end %> <% if self.description and #self.description > 0 then %>
<%=self.description%>
<% end %> <%- if firstmap and (applymap or confirmmap) then -%> <%+cbi/apply_widget%> <% cbi_apply_widget() %> <%- end -%> <% if self.tabbed then %>
<% for i, section in ipairs(self.children) do tab = section.section or section.sectiontype %>
> <% section:render() %>
<% end %>
<% else %> <%- self:render_children() %> <% end %> <% if not self.save then -%>
<% for _, section in ipairs(self.children) do %> <% if section.error and section.error[section.section] then -%> <%- end %> <% end %>
<%- end %>