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/task | |
parent | 34bbdaeac8c407a97a611cb858617eff3483dbb3 (diff) |
set maxlength for name input fields in templates
Diffstat (limited to 'app/Template/task')
-rw-r--r-- | app/Template/task/edit.php | 2 | ||||
-rw-r--r-- | app/Template/task/new.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/Template/task/edit.php b/app/Template/task/edit.php index 51cb2884..0df1676b 100644 --- a/app/Template/task/edit.php +++ b/app/Template/task/edit.php @@ -9,7 +9,7 @@ <div class="form-column"> <?= $this->formLabel(t('Title'), 'title') ?> - <?= $this->formText('title', $values, $errors, array('required')) ?><br/> + <?= $this->formText('title', $values, $errors, array('required', 'maxlength="200"')) ?><br/> <?= $this->formLabel(t('Description'), 'description') ?> diff --git a/app/Template/task/new.php b/app/Template/task/new.php index 6294968a..5eef9923 100644 --- a/app/Template/task/new.php +++ b/app/Template/task/new.php @@ -17,7 +17,7 @@ <div class="form-column"> <?= $this->formLabel(t('Title'), 'title') ?> - <?= $this->formText('title', $values, $errors, array('autofocus', 'required'), 'form-input-large') ?><br/> + <?= $this->formText('title', $values, $errors, array('autofocus', 'required', 'maxlength="200"'), 'form-input-large') ?><br/> <?= $this->formLabel(t('Description'), 'description') ?> |