<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <!-- CSRF Token -->
    <meta name="csrf-token" content="<?php echo e(csrf_token()); ?>">

    <title><?php echo e(config('app.name', 'Complaints Management System')); ?></title>

    <!-- Styles -->
    <link rel="stylesheet" href="assets/css/lib.css"/>
    <link rel="stylesheet" href="assets/css/app.css"/>
    <link rel="icon" href="assets/images/fav.png" type="image/x-icon"/>

    <!-- Scripts -->
    <script>
        window.Laravel = <?php echo json_encode([
                'csrfToken' => csrf_token(),
        ]); ?>
    </script>
</head>
<body>
<div class="user-lock">
    <div class="login-widget lock-screen">
        <div class="login-box">
            <h3 class="blueBG">Log In</h3>
                    <form role="form" method="POST" action="<?php echo e(route('login')); ?>">
                        <?php echo e(csrf_field()); ?>

                        <div class="form-fields">

                        <div class="form-group<?php echo e($errors->has('email') ? ' has-error' : ''); ?>">
                            <label for="email" class="control-label">Username</label>
                            <input id="username" type="text" class="form-control" name="username" value="<?php echo e(old('username')); ?>" autofocus>

                        </div>

                        <div class="form-group<?php echo e($errors->has('password') ? ' has-error' : ''); ?>">
                            <label for="password" class="control-label">Password</label>

                                <input id="password" type="password" class="form-control" name="password" required>

                                <?php if($errors->has('password')): ?>
                                    <span class="help-block">
                                        <strong><?php echo e($errors->first('password')); ?></strong>
                                    </span>
                                <?php endif; ?>
                        </div>


                            <div class="form-actions clearfix">
                                <div class="submit-form">
                                    <button type="submit" class="submit-btn">Login</button>
                                </div>
                            </div>
</div>
                        



                        <div class="login-footer">
                            <a href="/reset-password">
                                Forget Password?
                            </a>

                        </div>
                    </form>

        </div>
    </div>

</div>




<script src="plugins/jquery/jquery-2.2.4.min.js"></script>
<!--lib-->
<script src="assets/js/lib.js"></script>
<script src="assets/js/app.js"></script>
</body>
</html>
