diff options
author | Florian Völker <github@floyer.de> | 2019-06-26 14:58:47 +0200 |
---|---|---|
committer | fguillot <fred@kanboard.net> | 2019-06-27 19:39:02 -0700 |
commit | efed94b23d592647f889ef03b144a91e8fbb6098 (patch) | |
tree | ef5f227f0b4f62ffe3c9fc27651b8e1c6c74199a /app/Template | |
parent | 02f6e94e24d5f717bd610da4a69049f81d13a0fc (diff) |
Add "identifier" beside "name" while creating a new project
Diffstat (limited to 'app/Template')
-rw-r--r-- | app/Template/project_creation/create.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/Template/project_creation/create.php b/app/Template/project_creation/create.php index 430a4bac..01952f14 100644 --- a/app/Template/project_creation/create.php +++ b/app/Template/project_creation/create.php @@ -10,6 +10,10 @@ <?= $this->form->label(t('Name'), 'name') ?> <?= $this->form->text('name', $values, $errors, array('autofocus', 'required')) ?> + <?= $this->form->label(t('Identifier'), 'identifier') ?> + <?= $this->form->text('identifier', $values, $errors, array('autofocus')) ?> + <p class="form-help"><?= t('The project identifier is optional and must be alphanumeric, example: MYPROJECT.') ?></p> + <?php if (count($projects_list) > 1): ?> <?= $this->form->label(t('Create from another project'), 'src_project_id') ?> <?= $this->form->select('src_project_id', $projects_list, $values, array(), array(), 'js-project-creation-select-options') ?> |