summaryrefslogtreecommitdiff
path: root/app/Template/project/edit.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/project/edit.php')
-rw-r--r--app/Template/project/edit.php10
1 files changed, 9 insertions, 1 deletions
diff --git a/app/Template/project/edit.php b/app/Template/project/edit.php
index 188107d1..3a273f32 100644
--- a/app/Template/project/edit.php
+++ b/app/Template/project/edit.php
@@ -11,18 +11,26 @@
<?= $this->form->label(t('Identifier'), 'identifier') ?>
<?= $this->form->text('identifier', $values, $errors, array('maxlength="50"')) ?>
- <p class="form-help"><?= t('The project identifier is an optional alphanumeric code used to identify your project.') ?></p>
+ <p class="form-help"><?= t('The project identifier is optional and must be alphanumeric, example: MYPROJECT.') ?></p>
+ <?= $this->form->label(t('Project owner'), 'owner_id') ?>
+ <?= $this->form->select('owner_id', $owners, $values, $errors) ?>
+
+ <hr>
<?= $this->form->label(t('Start date'), 'start_date') ?>
<?= $this->form->text('start_date', $values, $errors, array('maxlength="10"'), 'form-date') ?>
<?= $this->form->label(t('End date'), 'end_date') ?>
<?= $this->form->text('end_date', $values, $errors, array('maxlength="10"'), 'form-date') ?>
+ <p class="form-help"><?= t('Those dates are useful for the project Gantt chart.') ?></p>
<?php if ($this->user->hasProjectAccess('project', 'create', $project['id'])): ?>
+ <hr>
<?= $this->form->checkbox('is_private', t('Private project'), 1, $project['is_private'] == 1) ?>
+ <p class="form-help"><?= t('Private projects do not have users and groups management.') ?></p>
<?php endif ?>
+ <hr>
<?= $this->form->label(t('Description'), 'description') ?>
<div class="form-tabs">