<?php echo $__env->make('admin.header', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

<div class="container py-5">
    <div class="d-flex justify-content-between align-items-center mb-4">
        <h3 class="fw-bold text-primary mb-0">
            <i class="bi bi-file-earmark-plus me-2"></i> Add New Term
        </h3>
        <a href="<?php echo e(route('admin.terms.index')); ?>" class="btn btn-outline-secondary btn-sm px-3">
            <i class="bi bi-arrow-left"></i> Back
        </a>
    </div>

    <div class="card border-0 shadow-lg rounded-4">
        <div class="card-body p-4">
            <form action="<?php echo e(route('admin.terms.store')); ?>" method="POST">
                <?php echo csrf_field(); ?>

                <div class="row g-4">
                    <div class="col-md-12">
                        <label class="form-label fw-semibold text-secondary">Title</label>
                        <input type="text" name="title" class="form-control border-primary-subtle" placeholder="Enter term title" required>
                    </div>

                    <div class="col-12">
                        <label class="form-label fw-semibold text-secondary">Content</label>
                        <textarea name="content" rows="4" class="form-control border-primary-subtle" placeholder="Enter details or description here..."></textarea>
                    </div>

                <!--     <div class="col-md-6">
                        <label class="form-label fw-semibold text-secondary">Input Type</label>
                        <div class="position-relative">
                            <select name="input_type" class="form-select form-select-lg border-primary-subtle shadow-sm">
                                <option value="text">Text</option>
                                <option value="textarea">Textarea</option>
                                <option value="html">HTML</option>
                            </select>
                            <i class="bi bi-caret-down-fill position-absolute end-0 top-50 translate-middle-y pe-3 text-secondary"></i>
                        </div>
                    </div> -->

                 <!--    <div class="col-md-4">
                        <label class="form-label fw-semibold text-secondary">Sort Order</label>
                        <input type="number" name="sort_order" class="form-control form-control-lg border-primary-subtle shadow-sm" value="0">
                    </div> -->
<!-- 
                    <div class="col-md-6">
                        <label class="form-label fw-semibold text-secondary">Visible</label>
                        <div class="position-relative">
                            <select name="visible" class="form-select">
                                <option value="1" selected>Yes</option>
                                <option value="0">No</option>
                            </select>
                            <i class="bi bi-caret-down-fill position-absolute end-0 top-50 translate-middle-y pe-3 text-secondary"></i>
                        </div>
                    </div> -->
                </div>

                <div class="d-flex justify-content-end mt-4">
                    <button type="submit" class="btn btn-primary px-4 py-2 me-2 shadow-sm">
                        <i class="bi bi-save me-1"></i> Save Term
                    </button>
                    <a href="<?php echo e(route('admin.terms.index')); ?>" class="btn btn-light border px-4 py-2">
                        Cancel
                    </a>
                </div>
            </form>
        </div>
    </div>
</div>

<?php echo $__env->make('admin.footer', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php /**PATH E:\xampp2\htdocs\texsia\resources\views/admin/terms/create.blade.php ENDPATH**/ ?>