Fixed a typo which prevented proper dependency tracking for additional fields
[project/luci.git] / libs / cbi / luasrc / view / cbi / nullsection.htm
index b01a6a9..9520b47 100644 (file)
@@ -13,7 +13,10 @@ $Id$
 
 -%>
                <fieldset class="cbi-section">
-                       <div class="cbi-section-node">
+                       <% 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 />