From: Jo-Philipp Wich Date: Thu, 21 Oct 2010 20:51:32 +0000 (+0000) Subject: libs/web: annotate form object with cbi state when using section add/remove buttons X-Git-Tag: 0.10.0~583 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=63089ef8be99dbbc4e64e859359e6cd9a562dcf1;p=oweals%2Fluci.git libs/web: annotate form object with cbi state when using section add/remove buttons --- diff --git a/libs/web/luasrc/view/cbi/tblsection.htm b/libs/web/luasrc/view/cbi/tblsection.htm index 022461067..f5e01de02 100644 --- a/libs/web/luasrc/view/cbi/tblsection.htm +++ b/libs/web/luasrc/view/cbi/tblsection.htm @@ -92,7 +92,7 @@ end <%- end -%> " title="<%:Edit%>"><%:Edit%> <%- end; if self.addremove then %> - + <%- end -%> <%- end -%> @@ -122,7 +122,7 @@ end <% else %> <% if self.invalid_cts then -%>
<% end %> - + <% if self.invalid_cts then -%>
<%:Invalid%>
<%- end %> diff --git a/libs/web/luasrc/view/cbi/tsection.htm b/libs/web/luasrc/view/cbi/tsection.htm index 0fa285c16..9361b6d41 100644 --- a/libs/web/luasrc/view/cbi/tsection.htm +++ b/libs/web/luasrc/view/cbi/tsection.htm @@ -21,7 +21,7 @@ $Id$ <% local isempty = true for i, k in ipairs(self:cfgsections()) do -%> <% if self.addremove then -%>
- +
<%- end %> @@ -51,7 +51,7 @@ $Id$ <%- else -%> <% if self.invalid_cts then -%>
<% end %> - + <% if self.invalid_cts then -%>
<%:Invalid%>
<%- end %>