<?php $__env->startSection('content'); ?>
<div class="clearfix">
    <div class="full-width-container login-body">
        <header class="header">
            <div class="header--center">
                <a href="/">
                    <img class="logo" src="<?php echo e(asset('assets')); ?>/img/icons/logo.png">
                </a>
                <h1 class="h1">ĐĂNG NHẬP HỆ THỐNG</h1>
            </div>
        </header>
        <main class="login-container">
            <form action="<?php echo e(route('login')); ?>" method="POST" class="login-form">
                <img class="login-form-logo" src="<?php echo e(asset('assets')); ?>/img/icons/logo.png">
                <hr>
                <p class="login-title">Đăng nhập</p>
                <input type="text" placeholder="Tên đăng nhập" name="tenDangNhap" class="login-form--input" size="0">
                <?php $__errorArgs = ['tenDangNhap'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                    <div class="error-mess"><?php echo e($message); ?></div>
                <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                <input type="password" placeholder="Mật khẩu" name="matKhau" class="login-form--input" size="0">
                <?php $__errorArgs = ['matKhau'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                    <div class="error-mess"><?php echo e($message); ?></div>
                <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                <div class="g-recaptcha-outer">
                    <div class="g-recaptcha-inner capcha">
                        <div class="g-recaptcha" data-sitekey="<?php echo e(env('CAPTCHA_KEY')); ?>"></div>
                    </div>
                    <?php $__errorArgs = ['g-recaptcha-response'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                            <div class="error-mess"><?php echo e($message); ?></div>
                    <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                <?php if(Session::has('error')): ?>
                    <div class="error-mess"><?php echo e(Session::get('error')); ?></div>
                <?php endif; ?>
                <input type="submit" value="Đăng nhập" class="login-form--submit">
                <a href="#" class="login-form--forgot-password">Quên mật khẩu</a>
                <?php echo csrf_field(); ?>
            </form>
        </main>
    </div>
</div>
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('masterAdmin', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH D:\laragon\www\tuyensinh\resources\views/admin/dangNhap.blade.php ENDPATH**/ ?>