<%# LuCI - Lua Configuration Interface Copyright 2008 Steven Barth Copyright 2008 Jo-Philipp Wich Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ -%>
<% if self.title and #self.title > 0 then -%> <%=self.title%> <%- end %>
<%=self.description%>
<% local isempty = true for i, k in ipairs(self:cfgsections()) do -%> <% if self.addremove then -%>
<%- end %> <%- section = k; isempty = false -%> <% if not self.anonymous then -%>

<%=section:upper()%>

<%- end %> <%+cbi/tabmenu%>
<%+cbi/ucisection%>

<%- end %> <% if isempty then -%> <%:This section contains no values yet%>

<%- end %> <% if self.addremove then -%> <% if self.template_addremove then include(self.template_addremove) else -%>
<% if self.anonymous then -%> <%- else -%> <% if self.invalid_cts then -%>
<% end %> <% if self.invalid_cts then -%>
<%:Invalid%>
<%- end %> <%- end %>
<%- end %> <%- end %>