summaryrefslogtreecommitdiffstats
path: root/application/views/user/login.php
blob: 761965c948b6e555f8c29239f7f6d862e3326ab5 (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 (isset($login_error)) { ?>
	<div class="alert alert-error">The entered credentials are invalid.</div>
<?php } ?>

<?php echo form_open('user/login', array("class" => "form-horizontal")); ?>
	<div class="control-group">
		<label class="control-label" for="inputUsername">Username</label>
		<div class="controls">
			<input type="text" id="inputUsername" name="username" placeholder="Username">
		</div>
	</div>

	<div class="control-group">
		<label class="control-label" for="inputPassword">Password</label>
		<div class="controls">
			<input type="password" id="inputPassword" name="password" placeholder="Password">
		</div>
	</div>

	<div class="control-group">
		<div class="controls">
			<button type="submit" class="btn btn-primary" name="process">Login</button>
		</div>
	</div>
</form>