bludit/admin/views/add-user.php
2015-06-26 22:47:12 -03:00

38 lines
1.2 KiB
PHP

<h2 class="title"><i class="fa fa-user-plus"></i> Add a new user</h2>
<?php makeNavbar('users'); ?>
<form method="post" action="" class="forms">
<label>
Username
<input type="text" name="username" class="width-50">
</label>
<label>
Password
<input type="password" name="password" class="width-50">
</label>
<label>
Confirm Password
<input type="password" name="confirm-password" class="width-50">
</label>
<label for="country">
Role
<select name="role" class="width-50">
<option value="editor">Editor</option>
<option value="admin">Administrator</option>
</select>
<div class="forms-desc">You can choose the user's privilege. The editor role only can write pages and posts.</div>
</label>
<label>
Email
<input type="text" name="email" class="width-50">
<div class="forms-desc">Email will not be publicly displayed. Recommended for recovery password and notifications.</div>
</label>
<input type="submit" class="btn btn-blue" value="Add" name="add-user">
<a href="<?php echo HTML_PATH_ADMIN_ROOT.'users' ?>" class="btn">Cancel</a>
</form>