From 5369c74ec0df35aa072a6067837c1d748836b96e Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 18 Jul 2015 10:02:29 -0400 Subject: Add form to create remote user --- app/Template/user/new.php | 50 ----------------------------------------------- 1 file changed, 50 deletions(-) delete mode 100644 app/Template/user/new.php (limited to 'app/Template/user/new.php') diff --git a/app/Template/user/new.php b/app/Template/user/new.php deleted file mode 100644 index 0db1e824..00000000 --- a/app/Template/user/new.php +++ /dev/null @@ -1,50 +0,0 @@ -
- -
-
- - form->csrf() ?> - -
- 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('Password'), 'password') ?> - form->password('password', $values, $errors, array('required')) ?>
- - form->label(t('Confirmation'), 'confirmation') ?> - form->password('confirmation', $values, $errors, array('required')) ?>
-
- -
- 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) ?> -
- -
- - - url->link(t('cancel'), 'user', 'index') ?> -
-
-
-
\ No newline at end of file -- cgit v1.2.3