<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<section id="dashboard-ecommerce">
    <div class="row">
        <div class="col-md-8 col-12 offset-md-2">
            <div class="card">
                <div class="card-content">
                    <div class="card-body">
                        <div class="row">
                            <div class="col-12">
                                <div class="text-center">
                                    <img src="<?php if(admin()->user()->photo): ?> <?php echo e(asset(admin()->user()->photo)); ?> <?php else: ?> <?php echo e(asset(not_found_img())); ?> <?php endif; ?>" class="rounded" id="file-ip-1-preview" alt="group image" height="120" width="120">
                                </div>
                                <form action="<?php echo e(route('admin.profile.update_data')); ?>" method="post" enctype="multipart/form-data"><?php echo csrf_field(); ?>
                                    <div class="form-group">
                                        <fieldset class="form-group">
                                            <label for="basicInputFile">Admin Profile Photo</label>
                                            <div class="custom-file">
                                                <input type="file" name="photo" class="form-control" id="inputGroupFile01" onchange="showPreview(event)">
                                                <label class="custom-file-label" for="inputGroupFile01">Choose file</label>
                                            </div>
                                        </fieldset>
                                    </div>

                                    <div class="form-group">
                                        <label for="name">Admin Name</label>
                                        <input type="text" name="name" class="form-control is-valid" id="name" required value="<?php echo e(admin()->user()->name ?? ''); ?>">
                                    </div>

                                    <div class="form-group">
                                        <label for="email">Admin Email <small>(This email for login to your admin panel)</small></label>
                                        <input type="email" name="email" class="form-control is-valid" required id="email" value="<?php echo e(admin()->user()->email ?? ''); ?>">
                                    </div>

                                    <div class="form-group">
                                        <label for="phone">Admin Phone</label>
                                        <input type="text" name="phone" class="form-control is-valid" required id="phone" value="<?php echo e(admin()->user()->phone ?? ''); ?>">
                                    </div>

                                    <div class="form-group">
                                        <label for="address">Admin Address</label>
                                        <input type="text" name="address" class="form-control is-valid" id="address" value="<?php echo e(admin()->user()->address ?? ''); ?>">
                                    </div>

                                    <div class="form-group text-center mt-3">
                                        <button class="btn btn-success" type="submit">Update Information</button>
                                    </div>
                                </form>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>

<?php /**PATH C:\xampp\htdocs\client\resources\views/admin/pages/profile_updates.blade.php ENDPATH**/ ?>