-%>
+<!-- tblsection -->
<div class="cbi-section" id="cbi-<%=self.config%>-<%=self.sectiontype%>">
<h2><%=self.title%></h2>
<div class="cbi-section-descr"><%=self.description%></div>
</tr>
<%- local isempty = true
for i, k in ipairs(self:cfgsections()) do
- isempty = false
-
if not self.anonymous then
-%>
<tr class="cbi-section-table-title">
</tr>
<%- end
section = k
+ isempty = false
scope = { valueheader = "cbi/cell_valueheader", valuefooter = "cbi/cell_valuefooter" }
-%>
<tr class="cbi-section-table-row" id="cbi-<%=self.config%>-<%=section%>">
<%- end -%>
</tr>
<%- end -%>
-
+
<%- if isempty then -%>
<tr class="cbi-section-table-row">
- <td colspan="<%=count%>"><em><%:cbi_sectempty%></em></td>
+ <td colspan="<%=count%>"><em><br /><%:cbi_sectempty%></em></td>
</tr>
<%- end -%>
</table>
</div>
</div>
+<!-- /tblsection -->