From: Jo-Philipp Wich Date: Mon, 8 Sep 2008 00:34:27 +0000 (+0000) Subject: * luci/libs/cbi: fix html errors in cbi templates X-Git-Tag: 0.9.0~1378 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=eff278317eed2f87f3e04715ed8b9e52d4ca01c0;p=oweals%2Fluci.git * luci/libs/cbi: fix html errors in cbi templates --- diff --git a/libs/cbi/luasrc/view/cbi/dynlist.htm b/libs/cbi/luasrc/view/cbi/dynlist.htm index 1cfd6f03e..d2e60b1de 100644 --- a/libs/cbi/luasrc/view/cbi/dynlist.htm +++ b/libs/cbi/luasrc/view/cbi/dynlist.htm @@ -39,7 +39,6 @@ $Id$ <%- end -%>', '<%:cbi_manual%>'); <% end -%> -
<% if i <= #vals then %>
<% end end %> <%+cbi/valuefooter%> diff --git a/libs/cbi/luasrc/view/cbi/tblsection.htm b/libs/cbi/luasrc/view/cbi/tblsection.htm index be7e723f7..b0da0813d 100644 --- a/libs/cbi/luasrc/view/cbi/tblsection.htm +++ b/libs/cbi/luasrc/view/cbi/tblsection.htm @@ -106,24 +106,20 @@ end <% end %> - <%- if self.addremove then -%> -
- -
- <% if self.anonymous then %> - - <% else %> - <% if self.invalid_cts then -%>
<% end %> - - - <% if self.invalid_cts then -%> -
<%:cbi_invalid%>
- <%- end %> - <% end %> -
- -
- <%- end -%> + <%- if self.addremove then -%> +
+ <% if self.anonymous then %> + + <% else %> + <% if self.invalid_cts then -%>
<% end %> + + + <% if self.invalid_cts then -%> +
<%:cbi_invalid%>
+ <%- end %> + <% end %> +
+ <%- end -%>