diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-11-27 18:18:06 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-11-27 18:18:06 +0000 |
commit | 34ee1629766969e514dc878ebc53208926bdaf16 (patch) | |
tree | afc8f2cae36c9325dfa7c0f9249beb79f54d7be5 /libs/web/luasrc | |
parent | 6e97be1e9233fe7d99818bba394c2649a4433cc7 (diff) |
libs/web: render aggregated messages
Diffstat (limited to 'libs/web/luasrc')
-rw-r--r-- | libs/web/luasrc/view/cbi/map.htm | 4 |
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 406c7e74e..d3fc65bd2 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%>"> |