bbc87f1858a8d01c9f087c74bee49bfa07d6e2ba
[project/luci.git] / core / 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 right">
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_add Eintrag anlegen%>" />
16                                 </div>
17 <% end %>