set maxlength for name input fields in templates

This commit is contained in:
Michael Lüpkes
2015-01-13 14:09:02 +01:00
parent 34bbdaeac8
commit 569c99a733
13 changed files with 15 additions and 15 deletions

View File

@@ -9,7 +9,7 @@
<?= $this->formHidden('task_id', $values) ?>
<?= $this->formLabel(t('Title'), 'title') ?>
<?= $this->formText('title', $values, $errors, array('required autofocus')) ?><br/>
<?= $this->formText('title', $values, $errors, array('required', 'autofocus', 'maxlength="50"')) ?><br/>
<?= $this->formLabel(t('Assignee'), 'user_id') ?>
<?= $this->formSelect('user_id', $users_list, $values, $errors) ?><br/>