
<?php $__env->startSection('content'); ?>
<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">Edit Product</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('menu-categories.index')); ?>">Product List</a></li>
            
                          <li class="breadcrumb-item text-white active" aria-current="page">Edit </li>
                        </ol>
                      </nav>
                </div>
            </div>
        </div>
    </div>
    <div class="col-12 mt-3">
        <div class="card p-3">
            <form action="<?php echo e(route('teams.update', $team->id)); ?>" method="POST" enctype="multipart/form-data">
                <?php echo csrf_field(); ?> <?php echo method_field('PUT'); ?>
        
                <div class="mb-3">
                    <label>Team Category</label>
                    <select name="team_type" class="form-control" required>
                        <option value="counselling" <?php echo e($team->team_type == 'counselling' ? 'selected' : ''); ?>>Counselling</option>
                        <option value="our_team" <?php echo e($team->team_type == 'our_team' ? 'selected' : ''); ?>>Our Team</option>
                    </select>
                </div>
        
                <div class="mb-3">
                    <label>Name</label>
                    <input type="text" name="name" class="form-control" value="<?php echo e($team->name); ?>" required>
                </div>
        
                <div class="mb-3">
                    <label>Position</label>
                    <input type="text" name="position" class="form-control" value="<?php echo e($team->position); ?>" required>
                </div>
        
                <div class="mb-3">
                    <label>Image</label>
                    <input type="file" name="image" class="form-control">
                   
                    <?php if($team->image): ?>
                    <img src="<?php echo e(asset($team->image)); ?>" alt="<?php echo e($team->name); ?>" width="100">
                <?php endif; ?>
                </div>
        
                <button type="submit" class="btn btn-success">Update</button>
            </form>
        </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\team\edit.blade.php ENDPATH**/ ?>