

<?php $__env->startSection('content'); ?>
    <div class="container my-5">
        <div class="card shadow-sm">
            <div class="card-header bg-info text-white">
                <h3>Create Section for Farm: <?php echo e($farm->registration_no); ?></h3>
            </div>
            <div class="card-body">
                <form action="<?php echo e(route('farms.storeSection', $farm->id)); ?>" method="POST">
                    <?php echo csrf_field(); ?>
                    <div class="row mb-3">
                        <div class="col-md-6">
                            <label for="name" class="form-label">Section Name</label>
                            <input type="text" name="name" class="form-control" required>
                        </div>
                        <div class="col-md-6">
                            <label for="registration_no" class="form-label">Section Registration No</label>
                            <input type="text" name="registration_no" class="form-control" required>
                        </div>
                    </div>
                    <button type="submit" class="btn btn-info">Create Section</button>
                </form>
            </div>
        </div>
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\laragon\www\VPS_changes\resources\views/farms/create-section.blade.php ENDPATH**/ ?>