1 <% if self:cfgvalue(self.section) then section = self.section %>
2 <fieldset class="cbi-section" id="cbi-<%=self.config%>-<%=section%>">
3 <% if self.title and #self.title > 0 then -%>
4 <legend><%=self.title%></legend>
6 <% if self.description and #self.description > 0 then -%>
7 <div class="cbi-section-descr"><%=self.description%></div>
9 <% if self.addremove then -%>
10 <div class="cbi-section-remove right">
11 <input type="submit" class="cbi-button" name="cbi.rns.<%=self.config%>.<%=section%>" value="<%:Delete%>" />
15 <div class="cbi-section-node<% if self.tabs then %> cbi-section-node-tabbed<% end %>" id="cbi-<%=self.config%>-<%=section%>">
20 <% elseif self.addremove then %>
21 <% if self.template_addremove then include(self.template_addremove) else -%>
22 <fieldset class="cbi-section" id="cbi-<%=self.config%>-<%=self.section%>">
23 <% if self.title and #self.title > 0 then -%>
24 <legend><%=self.title%></legend>
26 <div class="cbi-section-descr"><%=self.description%></div>
27 <input type="submit" class="cbi-button cbi-button-add" name="cbi.cns.<%=self.config%>.<%=self.section%>" value="<%:Add%>" />