* CBI: Generalized templates
[project/luci.git] / src / ffluci / view / cbi / nsection.htm
1 <% if self:cfgvalue(self.section) then
2 section = self.section %>
3 <div class="cbi-section" id="cbi-<%=self.config%>-<%=section%>">
4 <h2><%=self.title%></h2>
5 <div class="cbi-section-descr"><%=self.description%></div>
6 <% if self.addremove then %><div class="cbi-section-remove">
7 <input type="submit" name="cbi.rns.<%=self.config%>.<%=section%>" value="<%:cbi_del Eintrag entfernen%>" />
8 </div><% end %>
9 <%+cbi/ucisection%>
10 </div>
11 <% elseif self.addremove then %>
12 <div class="cbi-section" id="cbi-<%=self.config%>-<%=self.section%>">
13 <h2><%=self.title%></h2>
14 <div class="cbi-section-descr"><%=self.description%></div>
15 <input type="submit" name="cbi.cns.<%=self.config%>.<%=self.section%>" value="<%:cbi_cns Eintrag anlegen%>" />
16 </div>
17 <% end %>