<?php $__env->startSection('content'); ?>
<div class="main">
    <div class="container d-flex justify-content-center align-items-center vh-100">
        <div class="bg-white text-center p-5 mt-3 center w-50">
            <h4>ลืมรหัสผ่าน</h4>
            <?php if(session('status')): ?>
            <div class="alert alert-success" role="alert">
                <p><?php echo e(session('status')); ?></p>
            </div>
            <?php endif; ?>
            <form class="pb-3 mt-4" method="POST" action="<?php echo e(route('forget.password.post')); ?>">
                <?php echo csrf_field(); ?>
                <div class="form-group">
                    <input id="username" type="text" class="form-control <?php $__errorArgs = ['username'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"  name="username" value="<?php echo e(old('username')); ?>" placeholder="ชื่อผู้ใช้" required autofocus>
                    <?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); ?>
                </div>
                <div class="mt-4">
                    <a href="<?php echo e(route('home.index')); ?>" class="btn btn-outline-secondary float-left"><i class="fas fa-chevron-left"></i> ย้อนกลับ</a>
                    <button type="submit" class="btn btn-primary float-right">ส่งคำขอเปลี่ยนรหัสผ่าน</button>
                </div>
            </form>
        </div>
    </div>
</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\Users\Patcharapat\Desktop\job\patcharapat-dev\pongpetch\pongpetch\resources\views/auth/forget_password.blade.php ENDPATH**/ ?>