<?php $__env->startSection('title', 'Edit Group'); ?>

<?php $__env->startSection('content'); ?>
<div class="container mt-4">
    <div class="card-header bg-primary text-white py-3">
        <h5 class="mb-0"><i class="fas fa-chart-line me-2"></i> Edit Group</h5>
    </div>

    <form action="<?php echo e(route('groups.update', $group)); ?>" method="POST">
        <?php echo csrf_field(); ?> <?php echo method_field('PUT'); ?>
        <div class="row mb-3 mt-4">
            <div class="col-md-6">
                <label for="name"><strong>Group Name</strong></label>
                <input type="text" name="name" class="form-control" value="<?php echo e($group->name); ?>" required>
            </div>

            <div class="col-md-6">
                <label for="description"><strong>Description</strong></label>
                <textarea name="description" class="form-control"><?php echo e($group->description); ?></textarea>
            </div>
        </div>

        <button type="submit" class="btn btn-success">Update Group</button>
        <a href="<?php echo e(route('groups.index')); ?>" class="btn btn-secondary">Back</a>
    </form>
</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/melsoftzimco/public_html/demo/resources/views/groups/edit.blade.php ENDPATH**/ ?>