<%# 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 -%>

<%=k:upper()%>

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

<%- end %> <% if isempty then -%> <%:cbi_sectempty%>

<%- end %> <% if self.addremove then -%>
<% if self.anonymous then -%> <%- else -%> <%- end %> <% if self.err_invalid then -%>
<%:cbi_invalid%>
<%- end %>
<%- end %>