2 LuCI - Lua Configuration Interface
3 Copyright 2008 Steven Barth <steven@midlink.org>
4 Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
10 http://www.apache.org/licenses/LICENSE-2.0
16 <% if self:cfgvalue(self.section) then section = self.section %>
17 <fieldset class="cbi-section" id="cbi-<%=self.config%>-<%=section%>">
18 <% if self.title and #self.title > 0 then -%>
19 <legend><%=self.title%></legend>
21 <div class="cbi-section-descr"><%=self.description%></div>
22 <% if self.addremove then -%>
23 <div class="cbi-section-remove right">
24 <input type="submit" name="cbi.rns.<%=self.config%>.<%=section%>" value="<%:cbi_del%>" />
27 <div class="cbi-section-node" id="cbi-<%=self.config%>-<%=section%>">
32 <% elseif self.addremove then %>
33 <fieldset class="cbi-section" id="cbi-<%=self.config%>-<%=self.section%>">
34 <% if self.title and #self.title > 0 then -%>
35 <legend><%=self.title%></legend>
37 <div class="cbi-section-descr"><%=self.description%></div>
38 <input type="submit" name="cbi.cns.<%=self.config%>.<%=self.section%>" value="<%:cbi_add%>" />