diff options
author | Michael Lüpkes <michael@luepkes.net> | 2015-01-13 14:09:02 +0100 |
---|---|---|
committer | Michael Lüpkes <michael@luepkes.net> | 2015-01-13 14:09:02 +0100 |
commit | 569c99a73302271b80cd7c8a25356ea285606563 (patch) | |
tree | e37bd3d783a1b24a58fdfbc26278c97aa5c66a60 /app/Template/board | |
parent | 34bbdaeac8c407a97a611cb858617eff3483dbb3 (diff) |
set maxlength for name input fields in templates
Diffstat (limited to 'app/Template/board')
-rw-r--r-- | app/Template/board/edit.php | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ <?php foreach ($columns as $column): ?> <tr> <td><?= $this->formLabel('#'.++$i, 'title['.$column['id'].']', array('title="column_id='.$column['id'].'"')) ?></td> - <td><?= $this->formText('title['.$column['id'].']', $values, $errors, array('required')) ?></td> + <td><?= $this->formText('title['.$column['id'].']', $values, $errors, array('required', 'maxlength="50"')) ?></td> <td><?= $this->formNumber('task_limit['.$column['id'].']', $values, $errors, array('placeholder="'.t('limit').'"')) ?></td> <td> <ul> @@ -53,7 +53,7 @@ <?= $this->formHidden('project_id', $values) ?> <?= $this->formLabel(t('Title'), 'title') ?> - <?= $this->formText('title', $values, $errors, array('required')) ?> + <?= $this->formText('title', $values, $errors, array('required', 'maxlength="50"')) ?> <div class="form-actions"> <input type="submit" value="<?= t('Add this column') ?>" class="btn btn-blue"/> |