
<?php $__env->startSection('content'); ?>
    <div class="page-container">

        <div class="page-title-head d-flex align-items-sm-center flex-sm-row flex-column gap-2">
            <div class="flex-grow-1">
                <h4 class="fs-18 fw-semibold mb-0"><?php echo e($title); ?></h4>
            </div>

            <div class="text-end">
                <?php if (isset($component)) { $__componentOriginale8d7cdd1781443ddecac63d209f45a53 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginale8d7cdd1781443ddecac63d209f45a53 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.dashboard.master.breadcrumbs','data' => ['breadcrumbs' => $breadcrumbs]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('dashboard.master.breadcrumbs'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['breadcrumbs' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($breadcrumbs)]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginale8d7cdd1781443ddecac63d209f45a53)): ?>
<?php $attributes = $__attributesOriginale8d7cdd1781443ddecac63d209f45a53; ?>
<?php unset($__attributesOriginale8d7cdd1781443ddecac63d209f45a53); ?>
<?php endif; ?>
<?php if (isset($__componentOriginale8d7cdd1781443ddecac63d209f45a53)): ?>
<?php $component = $__componentOriginale8d7cdd1781443ddecac63d209f45a53; ?>
<?php unset($__componentOriginale8d7cdd1781443ddecac63d209f45a53); ?>
<?php endif; ?>
            </div>
        </div>

        <div class="row">
            <div class="col-lg-12">
                <div class="card">
                    <div class="card-body">
                        <form action="<?php echo e(route('master.admin.update', $admin->uuid)); ?>" method="post">
                            <?php echo csrf_field(); ?>
                            <?php echo method_field('PUT'); ?>
                            <div class="row">
                                <?php if (isset($component)) { $__componentOriginalb49d75317bfe7cafe8a8109e8bbfa163 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalb49d75317bfe7cafe8a8109e8bbfa163 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.dashboard.master.form-input','data' => ['name' => 'name','label' => 'Name','value' => ''.e($admin->name).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('dashboard.master.form-input'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['name' => 'name','label' => 'Name','value' => ''.e($admin->name).'']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalb49d75317bfe7cafe8a8109e8bbfa163)): ?>
<?php $attributes = $__attributesOriginalb49d75317bfe7cafe8a8109e8bbfa163; ?>
<?php unset($__attributesOriginalb49d75317bfe7cafe8a8109e8bbfa163); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalb49d75317bfe7cafe8a8109e8bbfa163)): ?>
<?php $component = $__componentOriginalb49d75317bfe7cafe8a8109e8bbfa163; ?>
<?php unset($__componentOriginalb49d75317bfe7cafe8a8109e8bbfa163); ?>
<?php endif; ?>
                                <?php if (isset($component)) { $__componentOriginalb49d75317bfe7cafe8a8109e8bbfa163 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalb49d75317bfe7cafe8a8109e8bbfa163 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.dashboard.master.form-input','data' => ['name' => 'email','label' => 'Email','value' => ''.e($admin->email).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('dashboard.master.form-input'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['name' => 'email','label' => 'Email','value' => ''.e($admin->email).'']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalb49d75317bfe7cafe8a8109e8bbfa163)): ?>
<?php $attributes = $__attributesOriginalb49d75317bfe7cafe8a8109e8bbfa163; ?>
<?php unset($__attributesOriginalb49d75317bfe7cafe8a8109e8bbfa163); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalb49d75317bfe7cafe8a8109e8bbfa163)): ?>
<?php $component = $__componentOriginalb49d75317bfe7cafe8a8109e8bbfa163; ?>
<?php unset($__componentOriginalb49d75317bfe7cafe8a8109e8bbfa163); ?>
<?php endif; ?>
                                <?php if (isset($component)) { $__componentOriginalb49d75317bfe7cafe8a8109e8bbfa163 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalb49d75317bfe7cafe8a8109e8bbfa163 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.dashboard.master.form-input','data' => ['name' => 'password','id' => 'new_password','label' => 'Password','type' => 'password']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('dashboard.master.form-input'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['name' => 'password','id' => 'new_password','label' => 'Password','type' => 'password']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalb49d75317bfe7cafe8a8109e8bbfa163)): ?>
<?php $attributes = $__attributesOriginalb49d75317bfe7cafe8a8109e8bbfa163; ?>
<?php unset($__attributesOriginalb49d75317bfe7cafe8a8109e8bbfa163); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalb49d75317bfe7cafe8a8109e8bbfa163)): ?>
<?php $component = $__componentOriginalb49d75317bfe7cafe8a8109e8bbfa163; ?>
<?php unset($__componentOriginalb49d75317bfe7cafe8a8109e8bbfa163); ?>
<?php endif; ?>

                                <div class="col-md-6 mb-3">
                                    <label for="example-select" class="form-label">Status</label>
                                    <select id="example-select" name="status"
                                        class="form-select <?php $__errorArgs = ['status'];
$__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); ?>">
                                        <option value="">Select Status</option>
                                        <?php $__currentLoopData = config('setting.userStatuses'); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <option value="<?php echo e($key); ?>" <?php if(old('status', $admin->status->value) == $key): echo 'selected'; endif; ?>>
                                                <?php echo e($value); ?>

                                            </option>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </select>

                                    <?php $__errorArgs = ['status'];
$__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"><?php echo e($message); ?></span>
                                    <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                </div>

                                <?php if (isset($component)) { $__componentOriginal2943a4f5d6a324b895fd919ca16fb508 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal2943a4f5d6a324b895fd919ca16fb508 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.dashboard.master.submit-and-back-button','data' => ['href' => ''.e(route('master.admin.index')).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('dashboard.master.submit-and-back-button'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['href' => ''.e(route('master.admin.index')).'']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal2943a4f5d6a324b895fd919ca16fb508)): ?>
<?php $attributes = $__attributesOriginal2943a4f5d6a324b895fd919ca16fb508; ?>
<?php unset($__attributesOriginal2943a4f5d6a324b895fd919ca16fb508); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal2943a4f5d6a324b895fd919ca16fb508)): ?>
<?php $component = $__componentOriginal2943a4f5d6a324b895fd919ca16fb508; ?>
<?php unset($__componentOriginal2943a4f5d6a324b895fd919ca16fb508); ?>
<?php endif; ?>

                            </div>
                        </form>
                    </div><!-- end card-body -->
                </div><!-- end card -->
            </div>
            <!-- end col -->
        </div>
        <!-- end row -->

    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('dashboard.master.layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\xampp\htdocs\projects\online-banking-v7.0\resources\views/dashboard/master/admin/edit.blade.php ENDPATH**/ ?>