luci-base: cbi: fix misplaced ID in nullsection template
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 24 Feb 2016 16:40:53 +0000 (17:40 +0100)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 24 Feb 2016 16:40:53 +0000 (17:40 +0100)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
modules/luci-base/luasrc/view/cbi/nullsection.htm

index bd4895095864270647005e6a0c601fc2b74c1efb..ef169593afac785d2617a825dddb180bb465ecd1 100644 (file)
@@ -5,8 +5,8 @@
        <% if self.description and #self.description > 0 then -%>
                <div class="cbi-section-descr"><%=self.description%></div>
        <%- end %>
-       <div class="cbi-section-node" id="cbi-<%=self.config%>-<%=tostring(self):sub(8)%>">
-               <div>
+       <div class="cbi-section-node">
+               <div id="cbi-<%=self.config%>-<%=tostring(self):sub(8)%>">
                        <% self:render_children(1, scope or {}) %>
                </div>
                <% if self.error and self.error[1] then -%>