Add start and end date for projects
This commit is contained in:
@@ -13,6 +13,12 @@
|
||||
<?= $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>
|
||||
|
||||
<?= $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') ?>
|
||||
|
||||
<?php if ($this->user->isAdmin() || $this->user->isProjectAdministrationAllowed($project['id'])): ?>
|
||||
<?= $this->form->checkbox('is_private', t('Private project'), 1, $project['is_private'] == 1) ?>
|
||||
<?php endif ?>
|
||||
|
||||
Reference in New Issue
Block a user