From: Jo-Philipp Wich Date: Sun, 5 Dec 2010 17:37:59 +0000 (+0000) Subject: libs/web: add field validation for add section name inputs X-Git-Tag: 0.10.0~305 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=99bf12fb631b5633e8654123aa9e3a40a168a605;p=oweals%2Fluci.git libs/web: add field validation for add section name inputs --- 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%>