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/subtask/create.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Template/subtask/create.php') diff --git a/app/Template/subtask/create.php b/app/Template/subtask/create.php index 73a08af1..be7fc311 100644 --- a/app/Template/subtask/create.php +++ b/app/Template/subtask/create.php @@ -9,7 +9,7 @@ formHidden('task_id', $values) ?> formLabel(t('Title'), 'title') ?> - formText('title', $values, $errors, array('required autofocus')) ?>
+ formText('title', $values, $errors, array('required', 'autofocus', 'maxlength="50"')) ?>
formLabel(t('Assignee'), 'user_id') ?> formSelect('user_id', $users_list, $values, $errors) ?>
-- cgit v1.2.3