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 bd48950..ef16959 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 -%>