

<?php $__env->startSection('content'); ?>
<div class="p-6 text-gray-100 max-w-3xl">

    <h1 class="text-2xl font-bold mb-4">Create Income Type</h1>

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

        <div>
            <label class="text-sm">Name</label>
            <input type="text" name="name" class="w-full bg-gray-700 px-3 py-2 rounded" required>
        </div>

        <div>
            <label class="text-sm">Description</label>
            <textarea name="description" rows="3"
                      class="w-full bg-gray-700 px-3 py-2 rounded"></textarea>
        </div>

        <button class="bg-blue-600 px-4 py-2 rounded hover:bg-blue-700">
            Save
        </button>
    </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/income_types/create.blade.php ENDPATH**/ ?>