<?php $__env->startSection('content'); ?>
<div class="main">
    <div class="container">
        <center>
            <div class="middle">
                <div id="login">
                    <form method="POST" action="<?php echo e(route('login')); ?>">
                    <?php echo csrf_field(); ?>
                        <fieldset class="clearfix">
                            <p ><span class="fa fa-user"></span><input type="text" id="username" Placeholder="ชื่อผู้ใช้"  name="username" value="<?php echo e(old('username')); ?>" required autocomplete="email" autofocus></p>
                            <?php $__errorArgs = ['username'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                    <span class="invalid-feedback" role="alert">
                                        <strong><?php echo e($message); ?></strong>
                                    </span>
                            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                            <p><span class="fa fa-lock"></span><input type="password" id="password" Placeholder="รหัสผ่าน" name="password" required autocomplete="current-password"></p>
                            <?php $__errorArgs = ['password'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                    <span class="invalid-feedback" role="alert">
                                        <strong><?php echo e($message); ?></strong>
                                    </span>
                            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>

                            <div>
                                <span style="width:48%; text-align:left;  display: inline-block;"><a class="small-text" href="<?php echo e(route('forget.password.get')); ?>">ลืมรหัสผ่าน ?</a></span>
                                <span style="width:50%; text-align:right;  display: inline-block;"><input type="submit" value="เข้าสู่ระบบ"></span>
                            </div>
                        </fieldset>
                        <div class="clearfix"></div>
                    </form>
                    <div class="clearfix"></div>
                </div>
                <div class="logo"><img src="<?php echo e(asset('imgs/logo.png')); ?>" alt="Logo" >
                    <div class="clearfix"></div>
                </div>
            </div>
        </center>
    </div>
</div>

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

<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/html/pongpetch/resources/views/auth/login.blade.php ENDPATH**/ ?>