Location: PHPKode > projects > Anchor CMS > anchor-cms-0.8/anchor/views/users/add.php
<?php echo $header; ?>

<hgroup class="wrap">
	<h1><?php echo __('users.add_user', 'Add a new user'); ?></h1>
</hgroup>

<section class="wrap">
	<?php echo $messages; ?>

	<form method="post" action="<?php echo admin_url('users/add'); ?>" novalidate autocomplete="off">

		<input name="token" type="hidden" value="<?php echo $token; ?>">

		<fieldset class="half split">
			<p>
				<label><?php echo __('users.real_name', 'Real name'); ?>:</label>
				<?php echo Form::text('real_name', Input::old('real_name')); ?>
			</p>

			<p>
				<label><?php echo __('users.bio', 'Biography'); ?>:</label>
				<?php echo Form::textarea('bio', Input::old('bio'), array('cols' => 20)); ?>
			</p>

			<p>
				<label><?php echo __('users.status', 'Status'); ?>:</label>
				<?php echo Form::select('status', $statuses, Input::old('status')); ?>
			</p>

			<p>
				<label><?php echo __('users.role', 'Role'); ?>:</label>
				<?php echo Form::select('role', $roles, Input::old('role')); ?>
			</p>
		</fieldset>

		<fieldset class="half split">
			<p>
				<label><?php echo __('users.username', 'Username'); ?>:</label>
				<?php echo Form::text('username', Input::old('username')); ?>
			</p>

			<p>
				<label><?php echo __('users.password', 'Password'); ?>:</label>
				<?php echo Form::password('password'); ?>
			</p>

			<p>
				<label><?php echo __('users.email', 'Email'); ?>:</label>
				<?php echo Form::text('email', Input::old('email')); ?>
			</p>
		</fieldset>

		<aside class="buttons">
			<?php echo Form::button(__('users.create', 'Create'), array('class' => 'btn', 'type' => 'submit')); ?>
		</aside>
	</form>

</section>

<?php echo $footer; ?>
Return current item: Anchor CMS