blob: 6fb4d97dd89fd1480367fb59eb23806969000eb0 (
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" => "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>
|