From 99bf12fb631b5633e8654123aa9e3a40a168a605 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 5 Dec 2010 17:37:59 +0000 Subject: [PATCH] libs/web: add field validation for add section name inputs --- libs/web/luasrc/view/cbi/tblsection.htm | 3 ++- libs/web/luasrc/view/cbi/tsection.htm | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/libs/web/luasrc/view/cbi/tblsection.htm b/libs/web/luasrc/view/cbi/tblsection.htm index f5e01de02..860d54ed7 100644 --- a/libs/web/luasrc/view/cbi/tblsection.htm +++ b/libs/web/luasrc/view/cbi/tblsection.htm @@ -121,7 +121,8 @@ end <% else %> <% if self.invalid_cts then -%>
<% end %> - + + <% if self.invalid_cts then -%>
<%:Invalid%>
diff --git a/libs/web/luasrc/view/cbi/tsection.htm b/libs/web/luasrc/view/cbi/tsection.htm index 9361b6d41..549934303 100644 --- a/libs/web/luasrc/view/cbi/tsection.htm +++ b/libs/web/luasrc/view/cbi/tsection.htm @@ -50,7 +50,8 @@ $Id$ <%- else -%> <% if self.invalid_cts then -%>
<% end %> - + + <% if self.invalid_cts then -%>
<%:Invalid%>
-- 2.25.1