X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=libs%2Fcbi%2Fluasrc%2Fview%2Fcbi%2Ftblsection.htm;h=898645a72bf3599069a15021e97a7bb84c4e4243;hp=6ed078026e35a3cd96bb4bacade062820a39fdcc;hb=50442d7438766d8d67b33167978c23eb7713375c;hpb=71c3d30f46567d3b495579665eff245978e52d01 diff --git a/libs/cbi/luasrc/view/cbi/tblsection.htm b/libs/cbi/luasrc/view/cbi/tblsection.htm index 6ed078026..898645a72 100644 --- a/libs/cbi/luasrc/view/cbi/tblsection.htm +++ b/libs/cbi/luasrc/view/cbi/tblsection.htm @@ -97,24 +97,31 @@ end <%- end -%> - <%- if self.addremove then -%> -
- -
- <% if self.anonymous then %> - - <% else %> - - - <% end %> - <% if self.err_invalid then %> -
<%:cbi_invalid%>
- <% end %> -
- + <% if self.error then %> +
+
- <%- end -%> + <% end %> + + <%- if self.addremove then -%> + <% if self.template_addremove then include(self.template_addremove) else -%> +
+ <% if self.anonymous then %> + + <% else %> + <% if self.invalid_cts then -%>
<% end %> + + + <% if self.invalid_cts then -%> +
<%:cbi_invalid%>
+ <%- end %> + <% end %> +
+ <%- end %> + <%- end -%>