<?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('index')); ?>">
                    <div class="login-img">
                        <img src=" <?php echo e(isset($settings) ? $settings->getFirstMediaUrl('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>

                        <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  class="btn btn-primary custom_btn mr-3">
                                    <i class="fas fa-sign-in-alt"></i> Login
                                </button>







                            </div>

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


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


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

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