summaryrefslogtreecommitdiffstats
path: root/views/admin/editUser.html.php
blob: 53d0742d3aced92d7eccff4d015c29ca41d600ab (plain)
1
2
3
4
5
6
7
8
9
10
11
<?php if(isset($user)): ?>
<?=$this->form->create($user); ?>
<?php else: ?>
<?=$this->form->create(); ?>
<?php endif; ?>
	<?=$this->form->field('username'); ?>
	<?=$this->form->field('newpass', array('label' => 'New Password')); ?>
	<?=$this->form->field('email'); ?>
	<?=$this->form->select('level', array('User' => 'User', 'Mod' => 'Mod', 'Admin' => 'Admin', 'root' => 'Root'), array('value' => 1)); ?> 
	<?=$this->form->submit('Save!'); ?>
<?=$this->form->end(); ?>