- <%- local count = 0 -%>
-
-
- <%- local isempty = true
- for i, k in ipairs(self:cfgsections()) do
- section = k
- isempty = false
- scope = { valueheader = "cbi/cell_valueheader", valuefooter = "cbi/cell_valuefooter" }
- -%>
-
-
-
-
-
-
-
-
-
-
- <%- if self.extedit or self.addremove then -%>
-
- <%- end -%>
-
-
- <%- end -%>
-
- <%- if isempty then -%>
-
-
<%:This section contains no values yet%>
-
- <%- end -%>
-
-
- <% if self.error then %>
-
-
<% for _, c in pairs(self.error) do for _, e in ipairs(c) do -%>
- - <%=pcdata(e):gsub("\n","
")%>
- <%- end end %>
-
- <% end %>
-
- <%- if self.addremove then -%>
- <% if self.template_addremove then include(self.template_addremove) else -%>
-
- <%- end %>
- <%- end -%>
-
-