From 63089ef8be99dbbc4e64e859359e6cd9a562dcf1 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 21 Oct 2010 20:51:32 +0000 Subject: libs/web: annotate form object with cbi state when using section add/remove buttons --- libs/web/luasrc/view/cbi/tblsection.htm | 4 ++-- libs/web/luasrc/view/cbi/tsection.htm | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'libs/web/luasrc/view') diff --git a/libs/web/luasrc/view/cbi/tblsection.htm b/libs/web/luasrc/view/cbi/tblsection.htm index 0224610674..f5e01de025 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 0fa285c160..9361b6d41e 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 %> -- cgit v1.2.3