1 <div class="cbi-section" id="cbi-<%=self.config%>-<%=self.sectiontype%>">
2 <h2><%=self.title%></h2>
3 <div class="cbi-section-descr"><%=self.description%></div>
4 <% for k, v in pairs(self:ucisections()) do%>
5 <fieldset class="cbi-section-node" id="cbi-<%=self.config%>-<%=k%>">
6 <% if not self.anonymous then %><legend><%=k%></legend><% end %>
7 <% self:render_children(k) %>
8 <% if #self.optionals > 0 or self.dynamic then %>
9 <div class="cbi-optionals">
10 <% if self.dynamic then %>
11 <input type="text" name="cbi.opt.<%=self.config%>.<%=k%>" />
13 <select name="cbi.opt.<%=self.config%>.<%=k%>">
14 <option><%:cbi_selopt *** Zusätzliche Felder ***%></option>
15 <% for key, val in pairs(self.optionals) do %>
16 <option value="<%=val.option%>"><%=val.title%></option>
20 <input type="submit" value="<%:cbi_addopt Feld hinzufügen%>" />
24 <% if self.addremove then %>
25 <input type="submit" name="cbi.rts.<%=self.config%>.<%=k%>" value="<%:cbi_del Eintrag entfernen%>" />
30 <% if self.addremove then %>
31 <div class="cbi-section-create">
32 <% if self.anonymous then %>
33 <input type="submit" name="cbi.cts.<%=self.config%>.<%=self.sectiontype%>" value="<%:cbi_add Eintrag hinzufügen%>" />
34 <% else %><input type="text" class="cbi-section-create-name" name="cbi.cts.<%=self.config%>.<%=self.sectiontype%>" />
35 <input type="submit" value="<%:cbi_add Eintrag hinzufügen%>" />
36 <% end %><% if self.err_invalid then %><div class="cbi-error"><%:cbi_invalid Fehler: Ungültige Eingabe%></div><% end %>