X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=libs%2Fcbi%2Fluasrc%2Fview%2Fcbi%2Fucisection.htm;h=c245940d4bc1551dfa49a9f7737c02779d84d0c4;hp=1d318f7915db52849b71b21b11a9035ac034f2ad;hb=4ca6f02af21d968e7da2018515f41cee4e4efd3f;hpb=565bc6d4c2e73827d35f87a6237ad322f19065f2 diff --git a/libs/cbi/luasrc/view/cbi/ucisection.htm b/libs/cbi/luasrc/view/cbi/ucisection.htm index 1d318f791..c245940d4 100644 --- a/libs/cbi/luasrc/view/cbi/ucisection.htm +++ b/libs/cbi/luasrc/view/cbi/ucisection.htm @@ -16,6 +16,13 @@ $Id$ <% self:render_children(section, scope or {}) %> <% if #self.optionals[section] > 0 or self.dynamic then %> + <% if self.tag_deperror[section] then -%> +
<%:cbi_deperror%>
+ <% elseif self.tag_invalid[section] then -%> +
<%:cbi_invalid_section%>
+ <%- elseif self.tag_error[section] then -%> +
<%=self.tag_error[section]%>
+ <%- end %>
<% if self.dynamic then %>