<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>قالب تستی احراز</title>
</head>
<body>
<form method="post" action="
    <?php if(session()->get('check_registered') == 'forgot_password_check_code'): ?>
        <?php echo e(route('auth.forgot_password_check_code')); ?>

    <?php else: ?>
        <?php echo e(route('auth.forgot_password_send')); ?>

    <?php endif; ?>
    ">

    <?php echo csrf_field(); ?>
    <?php if(session()->get('check_registered') === 'forgot_password_check_code'): ?>
        <p> ارسال کد به شماره‌ی <?php echo e($mobile ?? ''); ?></p>
        <input type="number" name="code" placeholder="code">
        <input type="text" name="mobile" value="<?php echo e(session()->get('mobile') ? (session()->get('mobile_session') ?? '') : ''); ?>">
        <button type="submit">ثبت</button>
    <?php else: ?>
        <input type="text" name="mobile" value="<?php echo e(session()->get('mobile_session') ?? ''); ?>">
        <button type="submit">ارسال کد فراموشی</button>
    <?php endif; ?>

</form>
</body>

</html>
<?php /**PATH C:\wamp64\www\newer\resources\views/Auth/forgotPassword.blade.php ENDPATH**/ ?>