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/board/edit.php | 4 ++-- app/Template/category/edit.php | 2 +- app/Template/category/index.php | 2 +- app/Template/project/edit.php | 2 +- app/Template/project/new.php | 2 +- app/Template/subtask/create.php | 2 +- app/Template/subtask/edit.php | 2 +- app/Template/swimlane/edit.php | 2 +- app/Template/swimlane/index.php | 4 ++-- app/Template/task/edit.php | 2 +- app/Template/task/new.php | 2 +- app/Template/user/edit.php | 2 +- app/Template/user/new.php | 2 +- 13 files changed, 15 insertions(+), 15 deletions(-) (limited to 'app') diff --git a/app/Template/board/edit.php b/app/Template/board/edit.php index 65a8fb26..f30a65c1 100644 --- a/app/Template/board/edit.php +++ b/app/Template/board/edit.php @@ -17,7 +17,7 @@ formLabel('#'.++$i, 'title['.$column['id'].']', array('title="column_id='.$column['id'].'"')) ?> - formText('title['.$column['id'].']', $values, $errors, array('required')) ?> + formText('title['.$column['id'].']', $values, $errors, array('required', 'maxlength="50"')) ?> formNumber('task_limit['.$column['id'].']', $values, $errors, array('placeholder="'.t('limit').'"')) ?>