summaryrefslogtreecommitdiffstats
path: root/application/views/user/login.php
blob: 5b2067bb0ecd99da5c24e4853dcf0e89aa59f83e (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-danger">The entered credentials are invalid.</div>
<?php } ?>

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

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

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