form->csrf() ?> form->hidden('id', $values) ?> form->label(t('Name'), 'name') ?> form->text('name', $values, $errors, array('required', 'maxlength="50"')) ?> form->label(t('Identifier'), 'identifier') ?> form->text('identifier', $values, $errors, array('maxlength="50"')) ?>

form->label(t('Start date'), 'start_date') ?> form->text('start_date', $values, $errors, array('maxlength="10"'), 'form-date') ?> form->label(t('End date'), 'end_date') ?> form->text('end_date', $values, $errors, array('maxlength="10"'), 'form-date') ?> user->isAdmin() || $this->user->isProjectAdministrationAllowed($project['id'])): ?> form->checkbox('is_private', t('Private project'), 1, $project['is_private'] == 1) ?> form->label(t('Description'), 'description') ?>
form->textarea('description', $values, $errors) ?>