summaryrefslogtreecommitdiffhomepage
path: root/libs/web/luasrc/view/cbi/nullsection.htm
blob: 063e7e6e613c7cd5954973ec923a5dc0ea58fc31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
		<fieldset class="cbi-section">
			<% if self.title and #self.title > 0 then -%>
				<legend><%=self.title%></legend>
			<%- end %>
			<div class="cbi-section-node" id="cbi-<%=self.config%>-<%=tostring(self):sub(8)%>">
				<% self:render_children(1, scope or {}) %>
			</div>
			<br />
		</fieldset>
		<%-
			if type(self.hidden) == "table" then
				for k, v in pairs(self.hidden) do
		-%>
			<input type="hidden" id="<%=k%>" name="<%=k%>" value="<%=pcdata(v)%>" />
		<%-
				end
			end
		%>