

<?php $__env->startSection('content'); ?>
<div class="container">
    <div class="row">
        <div class="col-12">
            <div>
                <div class="d-flex justify-content-between align-items-center">
                    <div class="mb-2 mb-lg-0">
                        <h3 class="mb-0 text-white">Contact Edit</h3>
                    </div>
                    <div>
                        <nav aria-label="breadcrumb text-white">
                            <ol class="breadcrumb">
                                <li class="breadcrumb-item"><a class="text-white text-decoration-none"
                                        href="<?php echo e(route('contact-info.index')); ?>">Contact List</a></li>
                                <li class="breadcrumb-item text-white active" aria-current="page">Edit</li>
                            </ol>
                        </nav>
                    </div>
                </div>
            </div>
        </div>

        <div class="col-lg-12 mt-3">
            <div class="card p-3">
                <form action="<?php echo e(route('contact-info.update', $contactInfo->id)); ?>" method="POST" enctype="multipart/form-data">
                    <?php echo csrf_field(); ?>
                    <?php echo method_field('PUT'); ?>

                    <div class="form-group">
                        <label for="phone">Phone</label>
                        <input type="text" name="phone" class="form-control" value="<?php echo e(old('phone', $contactInfo->phone)); ?>">
                    </div>

                    <div class="form-group">
                        <label for="email">Email</label>
                        <input type="email" name="email" class="form-control" value="<?php echo e(old('email', $contactInfo->email)); ?>">
                    </div>

                    <div class="form-group">
                        <label for="address">Address</label>
                        <input type="text" name="address" class="form-control" value="<?php echo e(old('address', $contactInfo->address)); ?>">
                    </div>

                    <div class="form-group">
                        <label for="facebook">Facebook</label>
                        <input type="url" name="facebook" class="form-control" value="<?php echo e(old('facebook', $contactInfo->facebook)); ?>">
                    </div>

                    <div class="form-group">
                        <label for="instagram">Instagram</label>
                        <input type="url" name="instagram" class="form-control" value="<?php echo e(old('instagram', $contactInfo->instagram)); ?>">
                    </div>

                    <div class="form-group">
                        <label for="twitter">Twitter</label>
                        <input type="url" name="twitter" class="form-control" value="<?php echo e(old('twitter', $contactInfo->twitter)); ?>">
                    </div>
                    <div class="form-group">
                        <label for="linkedin">linkedin</label>
                        <input type="url" name="linkedin" class="form-control" value="<?php echo e(old('linkedin', $contactInfo->linkedin)); ?>">
                    </div>

                    <div class="form-group">
                        <label for="logo">Logo</label>
                        <?php if($contactInfo->logo): ?>
                            <div class="mb-2">
                                <img src="<?php echo e(asset($contactInfo->logo)); ?>" alt="Logo" width="100">
                            </div>
                        <?php endif; ?>
                        <input type="file" name="logo" class="form-control">
                    </div>

                    <button type="submit" class="btn btn-primary mt-3">Update</button>
                </form>
            </div>
        </div>
    </div>
</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('admin.admin-dashboard', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\Users\HP\Desktop\eye-clinic\project\eye-clinic\resources\views\admin\pages\contact-info\edit.blade.php ENDPATH**/ ?>