X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=libs%2Fcbi%2Fluasrc%2Fview%2Fcbi%2Fucisection.htm;h=5504a7476c562db0cd9ed2ca580d11212a20a9d6;hp=eb581cab78082e9e6301493bac1c9445edd5b2a6;hb=b618361bf1c7ea160f3e0ef18aa8f409f7a21eff;hpb=05d3bf06b4ae6f07ed1c55fd1f7b4e97cb0e2d3d diff --git a/libs/cbi/luasrc/view/cbi/ucisection.htm b/libs/cbi/luasrc/view/cbi/ucisection.htm index eb581cab7..5504a7476 100644 --- a/libs/cbi/luasrc/view/cbi/ucisection.htm +++ b/libs/cbi/luasrc/view/cbi/ucisection.htm @@ -15,22 +15,52 @@ $Id$ <% self:render_children(section, scope or {}) %> -<% if #self.optionals[section] > 0 or self.dynamic then %> +<% if self.error and self.error[section] then -%> +