<?php $__env->startSection('title', 'Create topic'); ?>

<?php $__env->startSection('content'); ?>
<div class="container mt-4">
    <div class="card shadow rounded">
        <div class="card-header bg-primary text-white">
            <h4 class="mb-0">Create New topic</h4>
        </div>
        <div class="card-body">
            <form method="POST" action="<?php echo e(route('admin.topics.create')); ?>" enctype="multipart/form-data">
                <?php echo csrf_field(); ?>
                <div class="row mb-3">
                    <div class="col-md-6">
                        <label for="topic_name" class="form-label">Topic Name</label>
                        <input type="text" class="form-control" id="topic_name" name="topic_name" placeholder="Enter topic title" required>
                    </div>

                    <div class="col-md-6">
                        <label for="topic_image" class="form-label">Upload Image</label>
                        <input type="file" class="form-control" id="topic_image" name="topic_image">
                    </div>
                    
                </div>

                <div class="row mb-3">

                    <div class="col-md-6">
                        <label for="topic_Percentage" class="form-label">Percentage</label>
                        <input type="number" class="form-control" id="topic_Percentage" name="topic_Percentage" min="1" placeholder="e.g. 2" required>
                    </div>
                </div>

                

                

                <div class="text-end">
                    <button type="submit" class="btn btn-success">Create topic</button>
                </div>
            </form>
        </div>
    </div>
</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH D:\Kloudoz_project\WSglobe\online-exam-portal\resources\views/admin/Topic-create.blade.php ENDPATH**/ ?>