<!DOCTYPE html>
<html lang="en">
    <?= $this->include('admin/partials/header') ?>
    <body class="c-app flex-row align-items-center">
        <div class="container">
            <div class="row justify-content-center">
                <div class="col-md-5">
                    <div class="card-group">
                        <div class="card p-4">
                            <div class="card-body">
                                <h1>Daksha Admin Login</h1>
                                <p class="text-muted">Sign In to your account</p>
                                <?= form_open('admin/home/authenticate', ['id' => 'signinForm', 'class' => 'form-horizontal form-label-left']) ?>
                                    <div class="input-group mb-3">
                                        <div class="input-group-prepend">
                                            <span class="input-group-text">
                                                <i class="fa fa-user"></i>
                                            </span>
                                        </div>
                                        <input value="<?= set_value('email') ?>" required type="email" class="form-control theme-form-control" name="email" id="email" aria-describedby="emailHelp" placeholder="Enter email">
                                    </div>
                                    <div class="input-group mb-4">
                                        <div class="input-group-prepend">
                                            <span class="input-group-text">
                                                <i class="fa fa-eye"></i>
                                            </span>
                                        </div>
                                        <input value="<?= set_value('password') ?>" required type="password" class="form-control theme-form-control" name="password" id="password" placeholder="Enter Password">
                                    </div>
                                    <div class="row">
                                        <div class="col-6">
                                            <button class="btn btn-primary px-4" type="submit">Login</button>
                                        </div>
                                    </div>
                                <?= form_close() ?>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <?= $this->include('admin/partials/scripts') ?>
    </body>
</html>