

<?php $__env->startSection('content'); ?>
<div class="max-w-4xl mx-auto bg-gray-800 p-8 rounded-lg shadow-lg">

    <h1 class="text-3xl font-bold text-white mb-6">Create Policy</h1>

    <form action="<?php echo e(route('admin.policies.store')); ?>" method="POST">
        <?php echo csrf_field(); ?>

        
        <div class="mb-5">
            <label class="text-gray-300 font-semibold block mb-2">Title</label>
            <input type="text" 
                   name="title" 
                   class="w-full bg-gray-700 text-white border border-gray-600 rounded-lg p-3 focus:border-blue-500 focus:ring focus:ring-blue-500/30"
                   placeholder="Enter policy title"
                   required>
        </div>

        
        <div class="mb-5">
            <label class="text-gray-300 font-semibold block mb-2">Description</label>
            <input type="text" 
                   name="description"
                   class="w-full bg-gray-700 text-white border border-gray-600 rounded-lg p-3 focus:border-blue-500 focus:ring focus:ring-blue-500/30"
                   placeholder="Short description"
                   required>
        </div>

        
        <div class="mb-5">
            <label class="text-gray-300 font-semibold block mb-2">Content</label>
            <textarea name="content"
                      rows="10"
                      class="w-full bg-gray-700 text-white border border-gray-600 rounded-lg p-3 focus:border-blue-500 focus:ring focus:ring-blue-500/30"
                      placeholder="Full policy text..."
                      required></textarea>
        </div>

        
        <div class="mb-5">
            <label class="text-gray-300 font-semibold block mb-2">Version</label>
            <input type="text"
                   name="version"
                   value="1.0"
                   class="w-full bg-gray-700 text-white border border-gray-600 rounded-lg p-3 focus:border-blue-500 focus:ring focus:ring-blue-500/30">
        </div>

        
        <div class="flex items-center mb-6">
            <input type="checkbox" 
                   name="is_active" 
                   value="1"
                   checked
                   class="h-5 w-5 text-blue-500 rounded border-gray-500 bg-gray-700 focus:ring-blue-600">
            <label class="ml-3 text-gray-300 font-medium">Active?</label>
        </div>

        
        <button type="submit"
                class="bg-blue-600 text-white px-6 py-3 rounded-lg hover:bg-blue-700 focus:ring focus:ring-blue-500/40">
            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/policies/create.blade.php ENDPATH**/ ?>