

<?php $__env->startSection('content'); ?>
<div class="p-6">
    <h2 class="text-2xl font-bold text-white mb-4">New Group</h2>

    <form action="<?php echo e(route('admin.groups.store')); ?>" method="POST" class="bg-gray-800 p-6 rounded">
        <?php echo csrf_field(); ?>

        <label class="block text-gray-300">Group Name</label>
        <input name="name" class="w-full p-2 rounded bg-gray-700 text-white mb-3" value="<?php echo e(old('name')); ?>" required>

        <label class="block text-gray-300">Notes</label>
        <textarea name="notes" class="w-full p-2 rounded bg-gray-700 text-white mb-3"><?php echo e(old('notes')); ?></textarea>

        <div class="flex gap-2">
            <button class="px-4 py-2 bg-green-600 rounded text-white">Create</button>
            <a href="<?php echo e(route('admin.groups.index')); ?>" class="px-4 py-2 bg-gray-600 rounded text-white">Cancel</a>
        </div>
    </form>
</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.admin', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\myproject\resources\views/admin/groups/create.blade.php ENDPATH**/ ?>