<?php $__env->startSection('title'); ?> Admin Login
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>

    <div class="container-fluid mt-5">
        <div class="row">

            <div class=" col-md-6 col-sm-9 col-10 m-auto">
                <div class="text-center mt-5">
                    <a href="<?php echo e(route('front.index')); ?>">
                    <div class="login-img">
                        <img src=" <?php echo e(isset($setting) ? $setting->settingImage('header_logo') : asset('upload/No-Image.png')); ?>"width="250">
                    </div>
                    <div class="login-logo">
                        <h2 class="text-muted"><?php echo e($setting->site_title ?? ''); ?></h2>

                    </div>
                    </a>
                </div>

                <div class="card card-box-shadow">

                    <div class="card-body">
                        <h4 class="text-center text-muted mt-2">Admin Login</h4>
                        <?php if(Session::get('success')): ?>
                            <div style="margin:auto; max-width:450px;">
                                <div class="alert alert-success alert-dismissible  fade show text-center">
                                    <button type="button" class="close" data-dismiss="alert">&times;</button>
                                    <?php echo e(Session::get('success')); ?>

                                </div>
                            </div>
                        <?php endif; ?>

                        <?php if(session::get('error')): ?>
                            <div style="margin:auto; max-width:450px;">
                                <div class="alert alert-danger alert-dismissible  fade show text-center">
                                    <button type="button" class="close" data-dismiss="alert">&times;</button>
                                    <?php echo e(session::get('error')); ?>

                                </div>
                            </div>
                        <?php endif; ?>
                        <form method="POST" action="<?php echo e(route('admin.login')); ?>">
                            <?php echo csrf_field(); ?>


                            <div class="mb-3">
                                <label for="exampleInputEmail1" class="form-label">Email Address</label>
                                <input type="email" class="form-control form__field" name="email" placeholder="Enter Your Email">
                                <small class="text-danger"><?php $__errorArgs = ['email'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> <?php echo e($message); ?> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?></small>

                            </div>
                            <div class="mb-3">
                                <label for="exampleInputPassword1" class="form-label">Password</label>
                                <input type="password" class="form-control form__field" name="password" placeholder="Enter Your Password">
                                <small class="text-danger"><?php $__errorArgs = ['password'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> <?php echo e($message); ?> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?></small>

                            </div>

                            <div class='text-center'>
                                <button type="submit" class="btn btn-primary">Login</button>
                                <a href="<?php echo e(route('admin.show-reset-password')); ?>" class="btn btn-primary">Reset Password
                                    Link</a>

                            </div>

                        </form>
                    </div>
                </div>
            </div>


        </div>
        <!-- /.col -->
    </div>
    <!-- /.row -->


<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.front-admin-layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/servicedemoweb/public_html/luxury-candles/resources/views/admin/auth/login.blade.php ENDPATH**/ ?>