summaryrefslogtreecommitdiffhomepage
path: root/libs/web/luasrc/view/cbi/map.htm
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-11-27 18:18:06 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-11-27 18:18:06 +0000
commit34ee1629766969e514dc878ebc53208926bdaf16 (patch)
treeafc8f2cae36c9325dfa7c0f9249beb79f54d7be5 /libs/web/luasrc/view/cbi/map.htm
parent6e97be1e9233fe7d99818bba394c2649a4433cc7 (diff)
libs/web: render aggregated messages
Diffstat (limited to 'libs/web/luasrc/view/cbi/map.htm')
-rw-r--r--libs/web/luasrc/view/cbi/map.htm4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/web/luasrc/view/cbi/map.htm b/libs/web/luasrc/view/cbi/map.htm
index 406c7e74ee..d3fc65bd22 100644
--- a/libs/web/luasrc/view/cbi/map.htm
+++ b/libs/web/luasrc/view/cbi/map.htm
@@ -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%>">