PATH:
home
/
rwabteecom
/
project_11
/
storage
/
framework
/
views
/
Editing: 391fde695e7ee3496624946d78738942.php
<?php $__env->startSection("styles"); ?> <link rel="stylesheet" href="<?php echo e(asset('backend/plugins/intlTelInput.min.css')); ?>"> <style> .iti { width: 100%; } </style> <?php if(LaravelLocalization::getCurrentLocaleDirection() == "rtl"): ?> <style> .iti { direction: ltr !important; } .iti__country-list { left: 0 !important; } </style> <?php endif; ?> <?php $__env->stopSection(); ?> <?php $__env->startSection("content"); ?> <form action="<?php echo e(route('admin.users.update', $user->id)); ?>" method="post"> <?php echo csrf_field(); ?> <?php echo method_field("PUT"); ?> <?php if (isset($component)) { $__componentOriginalc0effd62b083bf085c8b6c73c5a6cce3 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalc0effd62b083bf085c8b6c73c5a6cce3 = $attributes; } ?> <?php $component = App\View\Components\Card\CardContent::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('card-content'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Card\CardContent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <?php if (isset($component)) { $__componentOriginal621b973765c726fc88d870def47fa1a6 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal621b973765c726fc88d870def47fa1a6 = $attributes; } ?> <?php $component = App\View\Components\Card\CardHeader::resolve(['title' => __('Edit user'),'backRoute' => route('admin.users.index')] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('card-header'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Card\CardHeader::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($__attributesOriginal621b973765c726fc88d870def47fa1a6)): ?> <?php $attributes = $__attributesOriginal621b973765c726fc88d870def47fa1a6; ?> <?php unset($__attributesOriginal621b973765c726fc88d870def47fa1a6); ?> <?php endif; ?> <?php if (isset($__componentOriginal621b973765c726fc88d870def47fa1a6)): ?> <?php $component = $__componentOriginal621b973765c726fc88d870def47fa1a6; ?> <?php unset($__componentOriginal621b973765c726fc88d870def47fa1a6); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginal0100f33f60b5f0d770c8394fa0ea5c08 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal0100f33f60b5f0d770c8394fa0ea5c08 = $attributes; } ?> <?php $component = App\View\Components\Card\CardBody::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('card-body'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Card\CardBody::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <?php if (isset($component)) { $__componentOriginal797c51186a43d87e83e25a1a9a6b4418 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal797c51186a43d87e83e25a1a9a6b4418 = $attributes; } ?> <?php $component = App\View\Components\Fields\Input::resolve(['name' => 'name','model' => $user,'title' => __('Name'),'required' => true] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('input-field'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Fields\Input::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($__attributesOriginal797c51186a43d87e83e25a1a9a6b4418)): ?> <?php $attributes = $__attributesOriginal797c51186a43d87e83e25a1a9a6b4418; ?> <?php unset($__attributesOriginal797c51186a43d87e83e25a1a9a6b4418); ?> <?php endif; ?> <?php if (isset($__componentOriginal797c51186a43d87e83e25a1a9a6b4418)): ?> <?php $component = $__componentOriginal797c51186a43d87e83e25a1a9a6b4418; ?> <?php unset($__componentOriginal797c51186a43d87e83e25a1a9a6b4418); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginal797c51186a43d87e83e25a1a9a6b4418 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal797c51186a43d87e83e25a1a9a6b4418 = $attributes; } ?> <?php $component = App\View\Components\Fields\Input::resolve(['name' => 'email','type' => 'email','model' => $user,'title' => __('Email'),'required' => true] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('input-field'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Fields\Input::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($__attributesOriginal797c51186a43d87e83e25a1a9a6b4418)): ?> <?php $attributes = $__attributesOriginal797c51186a43d87e83e25a1a9a6b4418; ?> <?php unset($__attributesOriginal797c51186a43d87e83e25a1a9a6b4418); ?> <?php endif; ?> <?php if (isset($__componentOriginal797c51186a43d87e83e25a1a9a6b4418)): ?> <?php $component = $__componentOriginal797c51186a43d87e83e25a1a9a6b4418; ?> <?php unset($__componentOriginal797c51186a43d87e83e25a1a9a6b4418); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginal797c51186a43d87e83e25a1a9a6b4418 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal797c51186a43d87e83e25a1a9a6b4418 = $attributes; } ?> <?php $component = App\View\Components\Fields\Input::resolve(['name' => 'phone','value' => $user->phone,'title' => __('Phone'),'required' => true] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('input-field'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Fields\Input::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($__attributesOriginal797c51186a43d87e83e25a1a9a6b4418)): ?> <?php $attributes = $__attributesOriginal797c51186a43d87e83e25a1a9a6b4418; ?> <?php unset($__attributesOriginal797c51186a43d87e83e25a1a9a6b4418); ?> <?php endif; ?> <?php if (isset($__componentOriginal797c51186a43d87e83e25a1a9a6b4418)): ?> <?php $component = $__componentOriginal797c51186a43d87e83e25a1a9a6b4418; ?> <?php unset($__componentOriginal797c51186a43d87e83e25a1a9a6b4418); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginal797c51186a43d87e83e25a1a9a6b4418 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal797c51186a43d87e83e25a1a9a6b4418 = $attributes; } ?> <?php $component = App\View\Components\Fields\Input::resolve(['name' => 'password','type' => 'password','title' => __('Password')] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('input-field'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Fields\Input::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['class' => 'mt-5']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal797c51186a43d87e83e25a1a9a6b4418)): ?> <?php $attributes = $__attributesOriginal797c51186a43d87e83e25a1a9a6b4418; ?> <?php unset($__attributesOriginal797c51186a43d87e83e25a1a9a6b4418); ?> <?php endif; ?> <?php if (isset($__componentOriginal797c51186a43d87e83e25a1a9a6b4418)): ?> <?php $component = $__componentOriginal797c51186a43d87e83e25a1a9a6b4418; ?> <?php unset($__componentOriginal797c51186a43d87e83e25a1a9a6b4418); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginal797c51186a43d87e83e25a1a9a6b4418 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal797c51186a43d87e83e25a1a9a6b4418 = $attributes; } ?> <?php $component = App\View\Components\Fields\Input::resolve(['name' => 'password_confirmation','type' => 'password','title' => __('Password Confirmation')] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('input-field'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Fields\Input::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['class' => 'mt-5']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal797c51186a43d87e83e25a1a9a6b4418)): ?> <?php $attributes = $__attributesOriginal797c51186a43d87e83e25a1a9a6b4418; ?> <?php unset($__attributesOriginal797c51186a43d87e83e25a1a9a6b4418); ?> <?php endif; ?> <?php if (isset($__componentOriginal797c51186a43d87e83e25a1a9a6b4418)): ?> <?php $component = $__componentOriginal797c51186a43d87e83e25a1a9a6b4418; ?> <?php unset($__componentOriginal797c51186a43d87e83e25a1a9a6b4418); ?> <?php endif; ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal0100f33f60b5f0d770c8394fa0ea5c08)): ?> <?php $attributes = $__attributesOriginal0100f33f60b5f0d770c8394fa0ea5c08; ?> <?php unset($__attributesOriginal0100f33f60b5f0d770c8394fa0ea5c08); ?> <?php endif; ?> <?php if (isset($__componentOriginal0100f33f60b5f0d770c8394fa0ea5c08)): ?> <?php $component = $__componentOriginal0100f33f60b5f0d770c8394fa0ea5c08; ?> <?php unset($__componentOriginal0100f33f60b5f0d770c8394fa0ea5c08); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginal8ccf90a59e764e7f6297ac27b693eda1 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal8ccf90a59e764e7f6297ac27b693eda1 = $attributes; } ?> <?php $component = App\View\Components\Card\CardFooter::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('card-footer'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Card\CardFooter::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <?php if (isset($component)) { $__componentOriginalc4c99ca5d114e5c407aea939feb70a52 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalc4c99ca5d114e5c407aea939feb70a52 = $attributes; } ?> <?php $component = App\View\Components\Button\LoadingBtn::resolve(['title' => __('Update')] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('loading-btn'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Button\LoadingBtn::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($__attributesOriginalc4c99ca5d114e5c407aea939feb70a52)): ?> <?php $attributes = $__attributesOriginalc4c99ca5d114e5c407aea939feb70a52; ?> <?php unset($__attributesOriginalc4c99ca5d114e5c407aea939feb70a52); ?> <?php endif; ?> <?php if (isset($__componentOriginalc4c99ca5d114e5c407aea939feb70a52)): ?> <?php $component = $__componentOriginalc4c99ca5d114e5c407aea939feb70a52; ?> <?php unset($__componentOriginalc4c99ca5d114e5c407aea939feb70a52); ?> <?php endif; ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal8ccf90a59e764e7f6297ac27b693eda1)): ?> <?php $attributes = $__attributesOriginal8ccf90a59e764e7f6297ac27b693eda1; ?> <?php unset($__attributesOriginal8ccf90a59e764e7f6297ac27b693eda1); ?> <?php endif; ?> <?php if (isset($__componentOriginal8ccf90a59e764e7f6297ac27b693eda1)): ?> <?php $component = $__componentOriginal8ccf90a59e764e7f6297ac27b693eda1; ?> <?php unset($__componentOriginal8ccf90a59e764e7f6297ac27b693eda1); ?> <?php endif; ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalc0effd62b083bf085c8b6c73c5a6cce3)): ?> <?php $attributes = $__attributesOriginalc0effd62b083bf085c8b6c73c5a6cce3; ?> <?php unset($__attributesOriginalc0effd62b083bf085c8b6c73c5a6cce3); ?> <?php endif; ?> <?php if (isset($__componentOriginalc0effd62b083bf085c8b6c73c5a6cce3)): ?> <?php $component = $__componentOriginalc0effd62b083bf085c8b6c73c5a6cce3; ?> <?php unset($__componentOriginalc0effd62b083bf085c8b6c73c5a6cce3); ?> <?php endif; ?> </form> <?php $__env->stopSection(); ?> <?php $__env->startSection("scripts"); ?> <script src="<?php echo e(asset('backend/plugins/intlTelInput.min.js')); ?>"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.mask/1.14.11/jquery.mask.js"></script> <script> let input = document.querySelector("#phone"); $('#phone').mask("000 000 0000"); let iti = window.intlTelInput(input, { preferredCountries: ['sa', 'eg'], separateDialCode: true, formatOnDisplay: true, hiddenInput: "full_number", utilsScript: "<?php echo e(asset("backend/plugins/utils.js")); ?>", }); $("#phone").on("countrychange", function () { let selectedCountryData = iti.getSelectedCountryData(); newPlaceholder = intlTelInputUtils.getExampleNumber(selectedCountryData.iso2, true, intlTelInputUtils.numberFormat.INTERNATIONAL); iti.setNumber(""); $('input[name=full_number]').val(""); mask = newPlaceholder.replace(/[1-9]/g, "0"); console.log(mask); $(this).mask(mask); }); $("#phone").on('change', function () { let phone = iti.getNumber(intlTelInputUtils.numberFormat.E164); $('input[name=full_number]').val(phone); }) </script> <?php $__env->stopSection(); ?> <?php echo $__env->make("admin.layouts.app", \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/rwabtee/project/resources/views/admin/pages/users/edit.blade.php ENDPATH**/ ?>
SAVE
CANCEL