app->isAjax()): ?>
form->csrf() ?>
form->label(t('Name'), 'name') ?> form->text('name', $values, $errors, array('required', 'autofocus', 'tabindex="1"')) ?> form->label(t('Email'), 'email') ?> form->email('email', $values, $errors, array('tabindex="2"')) ?>

form->label(t('Identifier'), 'identifier') ?> form->text('identifier', $values, $errors, array('maxlength="50"', 'tabindex="3"')) ?>

form->label(t('Description'), 'description') ?> form->textEditor('description', $values, $errors, array('tabindex' => 4)) ?>
app->config('disable_private_project') != 1): ?> user->hasProjectAccess('ProjectCreationController', 'create', $project['id'])): ?> form->checkbox('is_private', t('Private project'), 1, $project['is_private'] == 1) ?>

form->label(t('Project owner'), 'owner_id') ?> form->select('owner_id', $owners, $values, $errors, array('tabindex="5"')) ?>
form->date(t('Start date'), 'start_date', $values, $errors, array('tabindex="6"')) ?> form->date(t('End date'), 'end_date', $values, $errors, array('tabindex="7"')) ?>
form->label(t('Default priority'), 'priority_default') ?> form->number('priority_default', $values, $errors, array('tabindex="8"')) ?> form->label(t('Lowest priority'), 'priority_start') ?> form->number('priority_start', $values, $errors, array('tabindex="9"')) ?> form->label(t('Highest priority'), 'priority_end') ?> form->number('priority_end', $values, $errors, array('tabindex="10"')) ?>
modal->submitButtons(array('tabindex' => 11)) ?>