From 569c99a73302271b80cd7c8a25356ea285606563 Mon Sep 17 00:00:00 2001 From: Michael Lüpkes Date: Tue, 13 Jan 2015 14:09:02 +0100 Subject: set maxlength for name input fields in templates --- app/Template/project/new.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Template/project/new.php') diff --git a/app/Template/project/new.php b/app/Template/project/new.php index 91db75e1..b68258b4 100644 --- a/app/Template/project/new.php +++ b/app/Template/project/new.php @@ -10,7 +10,7 @@ formCsrf() ?> formHidden('is_private', $values) ?> formLabel(t('Name'), 'name') ?> - formText('name', $values, $errors, array('autofocus', 'required')) ?> + formText('name', $values, $errors, array('autofocus', 'required', 'maxlength="50"')) ?>
-- cgit v1.2.3