libs/web: render aggregated messages
[project/luci.git] / libs / web / luasrc / view / cbi / map.htm
index 406c7e7..d3fc65b 100644 (file)
@@ -13,6 +13,10 @@ $Id$
 
 -%>
 
+<%- if firstmap and messages then local msg; for _, msg in ipairs(messages) do -%>
+       <div class="errorbox"><%=pcdata(msg)%></div>
+<%- end end -%>
+
 <%-+cbi/apply_xhr-%>
 
 <div class="cbi-map" id="cbi-<%=self.config%>">