Файловый менеджер - Редактировать - /home/c7lekhnath/silverray.com.au/storage/framework/views/4d1367a200250e6a3a85eca5b0789be4.php
Назад
<?php $__env->startSection('title'); ?> <title><?php echo e(__('Edit Admin')); ?></title> <?php $__env->stopSection(); ?> <?php $__env->startSection('admin-content'); ?> <div class="main-content"> <section class="section"> <?php if (isset($component)) { $__componentOriginaldbbc880c47f621cda59b70d6eb356b2f = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginaldbbc880c47f621cda59b70d6eb356b2f = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.breadcrumb','data' => ['title' => ''.e(__('Edit Admin')).'','list' => [ __('Dashboard') => route('admin.dashboard'), __('Settings') => route('admin.settings'), __('Manage Admin') => route('admin.admin.index'), __('Edit Admin') => '#', ]]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('admin.breadcrumb'); ?> <?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(['title' => ''.e(__('Edit Admin')).'','list' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute([ __('Dashboard') => route('admin.dashboard'), __('Settings') => route('admin.settings'), __('Manage Admin') => route('admin.admin.index'), __('Edit Admin') => '#', ])]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginaldbbc880c47f621cda59b70d6eb356b2f)): ?> <?php $attributes = $__attributesOriginaldbbc880c47f621cda59b70d6eb356b2f; ?> <?php unset($__attributesOriginaldbbc880c47f621cda59b70d6eb356b2f); ?> <?php endif; ?> <?php if (isset($__componentOriginaldbbc880c47f621cda59b70d6eb356b2f)): ?> <?php $component = $__componentOriginaldbbc880c47f621cda59b70d6eb356b2f; ?> <?php unset($__componentOriginaldbbc880c47f621cda59b70d6eb356b2f); ?> <?php endif; ?> <div class="section-body"> <div class="row"> <div class="col-12"> <div class="card"> <div class="card-header d-flex justify-content-between"> <?php if (isset($component)) { $__componentOriginalf4c3b1ff82926c29625e584896e80d5a = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalf4c3b1ff82926c29625e584896e80d5a = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.form-title','data' => ['text' => __('Edit Admin')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('admin.form-title'); ?> <?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(['text' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(__('Edit Admin'))]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalf4c3b1ff82926c29625e584896e80d5a)): ?> <?php $attributes = $__attributesOriginalf4c3b1ff82926c29625e584896e80d5a; ?> <?php unset($__attributesOriginalf4c3b1ff82926c29625e584896e80d5a); ?> <?php endif; ?> <?php if (isset($__componentOriginalf4c3b1ff82926c29625e584896e80d5a)): ?> <?php $component = $__componentOriginalf4c3b1ff82926c29625e584896e80d5a; ?> <?php unset($__componentOriginalf4c3b1ff82926c29625e584896e80d5a); ?> <?php endif; ?> <div> <?php if(auth()->guard('admin')->user()->can('admin.view')): ?> <?php if (isset($component)) { $__componentOriginal17c557c70b1fe4c4647ae4b30eca9298 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal17c557c70b1fe4c4647ae4b30eca9298 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.back-button','data' => ['href' => route('admin.admin.index')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('admin.back-button'); ?> <?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(['href' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(route('admin.admin.index'))]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal17c557c70b1fe4c4647ae4b30eca9298)): ?> <?php $attributes = $__attributesOriginal17c557c70b1fe4c4647ae4b30eca9298; ?> <?php unset($__attributesOriginal17c557c70b1fe4c4647ae4b30eca9298); ?> <?php endif; ?> <?php if (isset($__componentOriginal17c557c70b1fe4c4647ae4b30eca9298)): ?> <?php $component = $__componentOriginal17c557c70b1fe4c4647ae4b30eca9298; ?> <?php unset($__componentOriginal17c557c70b1fe4c4647ae4b30eca9298); ?> <?php endif; ?> <?php endif; ?> </div> </div> <div class="card-body"> <div class="row"> <div class="col-md-12"> <form action="<?php echo e(route('admin.admin.update', $admin->id)); ?>" method="POST"> <?php echo csrf_field(); ?> <?php echo method_field('PUT'); ?> <div class="row"> <div class="form-group col-6"> <?php if (isset($component)) { $__componentOriginal63bead4e908ebc125014a497e80acb69 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal63bead4e908ebc125014a497e80acb69 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.form-input','data' => ['id' => 'name','name' => 'name','label' => ''.e(__('Name')).'','placeholder' => ''.e(__('Enter Name')).'','value' => ''.e($admin->name).'','required' => 'true']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('admin.form-input'); ?> <?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(['id' => 'name','name' => 'name','label' => ''.e(__('Name')).'','placeholder' => ''.e(__('Enter Name')).'','value' => ''.e($admin->name).'','required' => 'true']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal63bead4e908ebc125014a497e80acb69)): ?> <?php $attributes = $__attributesOriginal63bead4e908ebc125014a497e80acb69; ?> <?php unset($__attributesOriginal63bead4e908ebc125014a497e80acb69); ?> <?php endif; ?> <?php if (isset($__componentOriginal63bead4e908ebc125014a497e80acb69)): ?> <?php $component = $__componentOriginal63bead4e908ebc125014a497e80acb69; ?> <?php unset($__componentOriginal63bead4e908ebc125014a497e80acb69); ?> <?php endif; ?> </div> <div class="form-group col-6"> <?php if (isset($component)) { $__componentOriginal63bead4e908ebc125014a497e80acb69 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal63bead4e908ebc125014a497e80acb69 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.form-input','data' => ['type' => 'email','id' => 'email','name' => 'email','label' => ''.e(__('Email')).'','placeholder' => ''.e(__('Enter Email')).'','value' => ''.e($admin->email).'','required' => 'true']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('admin.form-input'); ?> <?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(['type' => 'email','id' => 'email','name' => 'email','label' => ''.e(__('Email')).'','placeholder' => ''.e(__('Enter Email')).'','value' => ''.e($admin->email).'','required' => 'true']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal63bead4e908ebc125014a497e80acb69)): ?> <?php $attributes = $__attributesOriginal63bead4e908ebc125014a497e80acb69; ?> <?php unset($__attributesOriginal63bead4e908ebc125014a497e80acb69); ?> <?php endif; ?> <?php if (isset($__componentOriginal63bead4e908ebc125014a497e80acb69)): ?> <?php $component = $__componentOriginal63bead4e908ebc125014a497e80acb69; ?> <?php unset($__componentOriginal63bead4e908ebc125014a497e80acb69); ?> <?php endif; ?> </div> <div class="form-group col-6"> <?php if (isset($component)) { $__componentOriginal63bead4e908ebc125014a497e80acb69 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal63bead4e908ebc125014a497e80acb69 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.form-input','data' => ['type' => 'password','id' => 'password','name' => 'password','label' => ''.e(__('Password')).'','placeholder' => ''.e(__('Enter Password')).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('admin.form-input'); ?> <?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(['type' => 'password','id' => 'password','name' => 'password','label' => ''.e(__('Password')).'','placeholder' => ''.e(__('Enter Password')).'']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal63bead4e908ebc125014a497e80acb69)): ?> <?php $attributes = $__attributesOriginal63bead4e908ebc125014a497e80acb69; ?> <?php unset($__attributesOriginal63bead4e908ebc125014a497e80acb69); ?> <?php endif; ?> <?php if (isset($__componentOriginal63bead4e908ebc125014a497e80acb69)): ?> <?php $component = $__componentOriginal63bead4e908ebc125014a497e80acb69; ?> <?php unset($__componentOriginal63bead4e908ebc125014a497e80acb69); ?> <?php endif; ?> </div> <div class="form-group col-6"> <?php if (isset($component)) { $__componentOriginal60bcc951c550d5b77fb7cdd189e510ca = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal60bcc951c550d5b77fb7cdd189e510ca = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.form-select','data' => ['id' => 'role','name' => 'role[]','label' => ''.e(__('Assign Role')).'','class' => 'select2','required' => 'true','multiple' => true]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('admin.form-select'); ?> <?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(['id' => 'role','name' => 'role[]','label' => ''.e(__('Assign Role')).'','class' => 'select2','required' => 'true','multiple' => true]); ?> <?php if (isset($component)) { $__componentOriginalb806ea0630d83bcbe8e487a031fcf0fb = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalb806ea0630d83bcbe8e487a031fcf0fb = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.select-option','data' => ['value' => '','text' => ''.e(__('Select Role')).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('admin.select-option'); ?> <?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(['value' => '','text' => ''.e(__('Select Role')).'']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalb806ea0630d83bcbe8e487a031fcf0fb)): ?> <?php $attributes = $__attributesOriginalb806ea0630d83bcbe8e487a031fcf0fb; ?> <?php unset($__attributesOriginalb806ea0630d83bcbe8e487a031fcf0fb); ?> <?php endif; ?> <?php if (isset($__componentOriginalb806ea0630d83bcbe8e487a031fcf0fb)): ?> <?php $component = $__componentOriginalb806ea0630d83bcbe8e487a031fcf0fb; ?> <?php unset($__componentOriginalb806ea0630d83bcbe8e487a031fcf0fb); ?> <?php endif; ?> <?php $__currentLoopData = $roles; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $role): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php if (isset($component)) { $__componentOriginalb806ea0630d83bcbe8e487a031fcf0fb = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalb806ea0630d83bcbe8e487a031fcf0fb = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.select-option','data' => ['selected' => $admin->hasRole($role->name),'value' => ''.e($role->name).'','text' => ''.e($role->name).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('admin.select-option'); ?> <?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(['selected' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($admin->hasRole($role->name)),'value' => ''.e($role->name).'','text' => ''.e($role->name).'']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalb806ea0630d83bcbe8e487a031fcf0fb)): ?> <?php $attributes = $__attributesOriginalb806ea0630d83bcbe8e487a031fcf0fb; ?> <?php unset($__attributesOriginalb806ea0630d83bcbe8e487a031fcf0fb); ?> <?php endif; ?> <?php if (isset($__componentOriginalb806ea0630d83bcbe8e487a031fcf0fb)): ?> <?php $component = $__componentOriginalb806ea0630d83bcbe8e487a031fcf0fb; ?> <?php unset($__componentOriginalb806ea0630d83bcbe8e487a031fcf0fb); ?> <?php endif; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal60bcc951c550d5b77fb7cdd189e510ca)): ?> <?php $attributes = $__attributesOriginal60bcc951c550d5b77fb7cdd189e510ca; ?> <?php unset($__attributesOriginal60bcc951c550d5b77fb7cdd189e510ca); ?> <?php endif; ?> <?php if (isset($__componentOriginal60bcc951c550d5b77fb7cdd189e510ca)): ?> <?php $component = $__componentOriginal60bcc951c550d5b77fb7cdd189e510ca; ?> <?php unset($__componentOriginal60bcc951c550d5b77fb7cdd189e510ca); ?> <?php endif; ?> <?php $__errorArgs = ['role']; $__bag = $errors->getBag($__errorArgs[1] ?? 'default'); if ($__bag->has($__errorArgs[0])) : if (isset($message)) { $__messageOriginal = $message; } $message = $__bag->first($__errorArgs[0]); ?> <span class="text-danger"><?php echo e($message); ?></span> <?php unset($message); if (isset($__messageOriginal)) { $message = $__messageOriginal; } endif; unset($__errorArgs, $__bag); ?> </div> <div class="form-group col-12"> <?php if (isset($component)) { $__componentOriginal3ca2e2bd90d344b6948d77ba703b0222 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal3ca2e2bd90d344b6948d77ba703b0222 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.form-switch','data' => ['name' => 'status','label' => ''.e(__('status')).'','activeValue' => 'active','inactiveValue' => 'inactive','checked' => $admin->status == 'active']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('admin.form-switch'); ?> <?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(['name' => 'status','label' => ''.e(__('status')).'','active_value' => 'active','inactive_value' => 'inactive','checked' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($admin->status == 'active')]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal3ca2e2bd90d344b6948d77ba703b0222)): ?> <?php $attributes = $__attributesOriginal3ca2e2bd90d344b6948d77ba703b0222; ?> <?php unset($__attributesOriginal3ca2e2bd90d344b6948d77ba703b0222); ?> <?php endif; ?> <?php if (isset($__componentOriginal3ca2e2bd90d344b6948d77ba703b0222)): ?> <?php $component = $__componentOriginal3ca2e2bd90d344b6948d77ba703b0222; ?> <?php unset($__componentOriginal3ca2e2bd90d344b6948d77ba703b0222); ?> <?php endif; ?> </div> </div> <div class="row"> <div class="col-md-12"> <?php if (isset($component)) { $__componentOriginalf3ad9c349c70d58844f8581b0990debd = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalf3ad9c349c70d58844f8581b0990debd = $attributes; } ?> <?php $component = App\View\Components\Admin\UpdateButton::resolve(['text' => __('Update')] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('admin.update-button'); ?> <?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\Admin\UpdateButton::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($__attributesOriginalf3ad9c349c70d58844f8581b0990debd)): ?> <?php $attributes = $__attributesOriginalf3ad9c349c70d58844f8581b0990debd; ?> <?php unset($__attributesOriginalf3ad9c349c70d58844f8581b0990debd); ?> <?php endif; ?> <?php if (isset($__componentOriginalf3ad9c349c70d58844f8581b0990debd)): ?> <?php $component = $__componentOriginalf3ad9c349c70d58844f8581b0990debd; ?> <?php unset($__componentOriginalf3ad9c349c70d58844f8581b0990debd); ?> <?php endif; ?> </div> </div> </form> </div> </div> </div> </div> </div> </div> </div> </section> </div> <?php $__env->stopSection(); ?> <?php echo $__env->make('admin.master_layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/lekhnath/silverray.com.au/resources/views/admin/admin-list/edit_admin.blade.php ENDPATH**/ ?>
| ver. 1.4 |
Github
|
.
| PHP 8.3.20 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка