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/swimlane/index.php | |
parent | 34bbdaeac8c407a97a611cb858617eff3483dbb3 (diff) |
set maxlength for name input fields in templates
Diffstat (limited to 'app/Template/swimlane/index.php')
-rw-r--r-- | app/Template/swimlane/index.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Template/swimlane/index.php b/app/Template/swimlane/index.php index 2bcddf75..3482a56c 100644 --- a/app/Template/swimlane/index.php +++ b/app/Template/swimlane/index.php @@ -14,7 +14,7 @@ <?= $this->formHidden('project_id', $values) ?> <?= $this->formLabel(t('Name'), 'name') ?> - <?= $this->formText('name', $values, $errors, array('autofocus required')) ?> + <?= $this->formText('name', $values, $errors, array('autofocus', 'required', 'maxlength="50"')) ?> <div class="form-actions"> <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/> @@ -30,7 +30,7 @@ <?= $this->formHidden('id', $default_swimlane) ?> <?= $this->formLabel(t('Rename'), 'default_swimlane') ?> - <?= $this->formText('default_swimlane', $default_swimlane, array(), array('autofocus required')) ?><br/> + <?= $this->formText('default_swimlane', $default_swimlane, array(), array('autofocus', 'required', 'maxlength="50"')) ?><br/> <?= $this->formCheckbox('show_default_swimlane', t('Show default swimlane'), 1, isset($default_swimlane['show_default_swimlane']) && $default_swimlane['show_default_swimlane'] == 1) ?> |