From 606a800b62ae0ab9ea92be558fb96511feec6a61 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Wed, 20 Feb 2013 16:02:37 +0100 Subject: [PATCH] Update textOptionType.tpl to validate minlength an maxlength --- com.woltlab.wcf/template/textOptionType.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/com.woltlab.wcf/template/textOptionType.tpl b/com.woltlab.wcf/template/textOptionType.tpl index bec294b32e..3477f93a84 100644 --- a/com.woltlab.wcf/template/textOptionType.tpl +++ b/com.woltlab.wcf/template/textOptionType.tpl @@ -1 +1 @@ - \ No newline at end of file +minlength > 0} required="required"{/if}{if $option->maxlength} maxlength="{$option->maxlength}"{/if}{if $inputClass} class="{@$inputClass}"{/if} /> -- 2.20.1