formCsrf() ?> formLabel(t('Username'), 'username') ?> formText('username', $values, $errors, array('autofocus', 'required', 'maxlength="50"')) ?>
formLabel(t('Name'), 'name') ?> formText('name', $values, $errors) ?>
formLabel(t('Email'), 'email') ?> formEmail('email', $values, $errors) ?>
formLabel(t('Password'), 'password') ?> formPassword('password', $values, $errors, array('required')) ?>
formLabel(t('Confirmation'), 'confirmation') ?> formPassword('confirmation', $values, $errors, array('required')) ?>
formLabel(t('Default project'), 'default_project_id') ?> formSelect('default_project_id', $projects, $values, $errors) ?>
formLabel(t('Timezone'), 'timezone') ?> formSelect('timezone', $timezones, $values, $errors) ?>
formLabel(t('Language'), 'language') ?> formSelect('language', $languages, $values, $errors) ?>
formCheckbox('is_admin', t('Administrator'), 1, isset($values['is_admin']) && $values['is_admin'] == 1 ? true : false) ?>
a(t('cancel'), 'user', 'index') ?>