Viewing file: 5e8ec1d2e912e30e75fbe156e542ecf2.php (7.98 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<div class="min-h-[80vh] py-16 flex items-center justify-center bg-gray-50 dark:bg-gray-900"> <div class="mx-3"> <?php if(session()->has('success')): ?> <div class="flex items-center p-4 mb-4 text-sm text-white rounded-lg bg-green-500 dark:bg-gray-800 dark:text-green-400" role="alert"> <?php if (isset($component)) { $__componentOriginal01ed971e915a52bfb975cb39226b7031 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal01ed971e915a52bfb975cb39226b7031 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.svg.session-success-icon','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.session-success-icon'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal01ed971e915a52bfb975cb39226b7031)): ?> <?php $attributes = $__attributesOriginal01ed971e915a52bfb975cb39226b7031; ?> <?php unset($__attributesOriginal01ed971e915a52bfb975cb39226b7031); ?> <?php endif; ?> <?php if (isset($__componentOriginal01ed971e915a52bfb975cb39226b7031)): ?> <?php $component = $__componentOriginal01ed971e915a52bfb975cb39226b7031; ?> <?php unset($__componentOriginal01ed971e915a52bfb975cb39226b7031); ?> <?php endif; ?> <div> <span class="font-medium"><?php echo e(session('success')); ?></span> </div> </div> <?php endif; ?>
<div class="auth-card w-full max-w-[536px] md:min-w-[536px] sm:p-8 p-4 mb-4 rounded-xl bg-white dark:bg-gray-800"> <h2 class="heading-05 text-center text-gray-900 dark:text-white mb-3"><?php echo e(__('forget_password')); ?></h2> <p class="text-center body-md-400 text-gray-600 dark:text-gray-300 mb-6"> <?php echo e(__('please_provide_the_email_address_that_you_used_when_you_signed_up_for_you_account')); ?> </p> <form action=""> <div class="flex flex-col gap-4 mb-6"> <div> <label for="email" class="tc-label"><?php echo e(__('email')); ?></label> <input wire:model="email" type="email" placeholder="<?php echo e(__('email_address')); ?>" class="tc-input <?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 twMerge('focus:border-red-500 hover:border-red-500 border-red-500'); ?> <?php unset($message); if (isset($__messageOriginal)) { $message = $__messageOriginal; } endif; unset($__errorArgs, $__bag); ?>"> <?php $__errorArgs = ['email']; $__bag = $errors->getBag($__errorArgs[1] ?? 'default'); if ($__bag->has($__errorArgs[0])) : if (isset($message)) { $__messageOriginal = $message; } $message = $__bag->first($__errorArgs[0]); ?> <p class="text-sm text-red-600 dark:text-red-500"><?php echo e($message); ?></p> <?php unset($message); if (isset($__messageOriginal)) { $message = $__messageOriginal; } endif; unset($__errorArgs, $__bag); ?> </div> </div> <?php if(config('captcha.active')): ?> <div class="mb-5"> <div id="captcha" wire:ignore></div> <?php $__errorArgs = ['captcha']; $__bag = $errors->getBag($__errorArgs[1] ?? 'default'); if ($__bag->has($__errorArgs[0])) : if (isset($message)) { $__messageOriginal = $message; } $message = $__bag->first($__errorArgs[0]); ?> <p class="mb-3 text-sm text-red-600 dark:text-red-500"> <?php echo e($message); ?>
</p> <?php unset($message); if (isset($__messageOriginal)) { $message = $__messageOriginal; } endif; unset($__errorArgs, $__bag); ?> </div> <?php endif; ?> <div> <button wire:loading.attr="disabled" wire:click.prevent="sendPasswordResetLink()" type="button" class="btn-primary py-3 px-5 w-full flex"> <span><?php echo e(__('forget_password')); ?></span> <span wire:loading class="animate-spin ms-2" wire:target="sendPasswordResetLink"> <?php if (isset($component)) { $__componentOriginal58511c84505519938f3e2e5e3f8f9df6 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal58511c84505519938f3e2e5e3f8f9df6 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.svg.loading-icon','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.loading-icon'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal58511c84505519938f3e2e5e3f8f9df6)): ?> <?php $attributes = $__attributesOriginal58511c84505519938f3e2e5e3f8f9df6; ?> <?php unset($__attributesOriginal58511c84505519938f3e2e5e3f8f9df6); ?> <?php endif; ?> <?php if (isset($__componentOriginal58511c84505519938f3e2e5e3f8f9df6)): ?> <?php $component = $__componentOriginal58511c84505519938f3e2e5e3f8f9df6; ?> <?php unset($__componentOriginal58511c84505519938f3e2e5e3f8f9df6); ?> <?php endif; ?> </span> </button> </div> </form> </div> <div class="flex gap-3 flex-wrap justify-between items-center"> <p class="flex gap-1.5 items-center"> <span class="body-md-400 text-gray-600 dark:text-gray-100"><?php echo e(__('back_to')); ?></span> <a href="/login" class="heading-07 hover:text-primary-700 transition-all duration-300 text-primary-500"> <?php echo e(__('login')); ?>
</a> </p> </div> </div> </div>
<?php $__env->startPush('js'); ?> <?php if(config('captcha.active')): ?> <script src="https://www.google.com/recaptcha/api.js?onload=handle&render=explicit" async defer></script>
<script> var handle = function(e) { widget = grecaptcha.render('captcha', { 'sitekey': '<?php echo e(config('captcha.sitekey')); ?>', 'theme': 'light', // you could switch between dark and light mode. 'callback': verify });
} var verify = function(response) { window.livewire.find('<?php echo e($_instance->id); ?>').set('captcha', response) } </script> <?php endif; ?> <?php $__env->stopPush(); ?> <?php /**PATH /home/picotech/domains/classify.picotech.app/public_html/resources/views/livewire/auth/forget-password.blade.php ENDPATH**/ ?>
|