summaryrefslogtreecommitdiffhomepage
path: root/web/src/view/cbi/nsection.htm
blob: fff597ad065c3f6a2734aaec0d89215352f6680d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<% if self:cfgvalue(self.section) then
section = self.section %>
				<div class="cbi-section" id="cbi-<%=self.config%>-<%=section%>">
					<h2><%=self.title%></h2>
					<div class="cbi-section-descr"><%=self.description%></div>
					<% if self.addremove then %><div class="cbi-section-remove right">
						<input type="submit" name="cbi.rns.<%=self.config%>.<%=section%>" value="<%:cbi_del Eintrag entfernen%>" />
					</div><% end %>
<div class="cbi-section-node" id="cbi-<%=self.config%>-<%=section%>">
<%+cbi/ucisection%>
</div>
<br />
				</div>
<% elseif self.addremove then %>
				<div class="cbi-section" id="cbi-<%=self.config%>-<%=self.section%>">
					<h2><%=self.title%></h2>
					<div class="cbi-section-descr"><%=self.description%></div>
					<input type="submit" name="cbi.cns.<%=self.config%>.<%=self.section%>" value="<%:cbi_add Eintrag anlegen%>" />
				</div>
<% end %>