libs/cbi: auto-hide apply messages and make title and description optional for Map...
[project/luci.git] / libs / cbi / luasrc / view / cbi / cell_valueheader.htm
index ecfeee6..0f24f1f 100644 (file)
@@ -13,4 +13,5 @@ $Id$
 
 -%>
 
-<td class="cbi-value-field" id="cbi-<%=self.config.."-"..section.."-"..self.option%>">
+<td class="cbi-value-field<% if self.error and self.error[section] then %> cbi-value-error<% end %>">
+<div id="cbi-<%=self.config.."-"..section.."-"..self.option%>">