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"')) ?>

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) ?>