form->csrf() ?> form->hidden('is_ldap_user', array('is_ldap_user' => 1)) ?>
form->label(t('Username'), 'username') ?> form->text('username', $values, $errors, array('autofocus', 'required', 'maxlength="50"')) ?>
form->label(t('Name'), 'name') ?> form->text('name', $values, $errors) ?>
form->label(t('Email'), 'email') ?> form->email('email', $values, $errors) ?>
form->label(t('Google Id'), 'google_id') ?> form->password('google_id', $values, $errors) ?>
form->label(t('Github Id'), 'github_id') ?> form->password('github_id', $values, $errors) ?>
form->label(t('Add project member'), 'project_id') ?> form->select('project_id', $projects, $values, $errors) ?>
form->label(t('Timezone'), 'timezone') ?> form->select('timezone', $timezones, $values, $errors) ?>
form->label(t('Language'), 'language') ?> form->select('language', $languages, $values, $errors) ?>
form->checkbox('notifications_enabled', t('Enable notifications'), 1, isset($values['notifications_enabled']) && $values['notifications_enabled'] == 1 ? true : false) ?> form->checkbox('is_admin', t('Administrator'), 1, isset($values['is_admin']) && $values['is_admin'] == 1 ? true : false) ?> form->checkbox('disable_login_form', t('Disallow login form'), 1, isset($values['disable_login_form']) && $values['disable_login_form'] == 1) ?>
url->link(t('cancel'), 'user', 'index') ?>