summaryrefslogtreecommitdiffstats
path: root/application/views/user/register.php
blob: 5fe368c9940daa1e3257262f98e7cdfb9a56921a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?php if (!empty($error)) {
	echo "<p class='alert alert-error'>";
	echo implode("<br />\n", $error);
	echo "</p>";
} ?>
<?php echo form_open('user/register/'.$key); ?>
	<table>
		<tr>
			<td>Username</td>
			<td> <input type="text" name="username" value="<?php echo $values["username"]; ?>" /></td>
		</tr><tr>
			<td>Email</td>
			<td> <input type="text" name="email" value="<?php echo $values["email"]; ?>" /></td>
		</tr><tr>
			<td>Password</td>
			<td> <input type="password" name="password" /></td>
		</tr><tr>
			<td>Confirm password</td>
			<td> <input type="password" name="password_confirm" /></td>
		</tr><tr>
			<td></td>
			<td><input type="submit" value="Register" name="process" /></td>
		</tr>
	</table>
</form>