summaryrefslogtreecommitdiffstats
path: root/application/views/user/login.php
blob: 21264a4046a95eff8ab2a6bfd2987c886c75f6dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php 
if (isset($login_error)) { ?>
	<div class="alert alert-error">The entered credentials are invalid.</div>
<?php } ?>

<?php echo form_open('user/login'); ?>
	<table>
    <tr>
      <td>Username:</td>
      <td><input type="text" name="username" /></td>
    </tr>
    <tr>
      <td>Password:</td>
      <td><input type="password" name="password" /></td>
    </tr>
  </table>
  <input type="submit" class="btn btn-primary" value="Login" name="process" />
</form>