<?php $__env->startSection('header-script'); ?>

<?php echo $__env->make('admin.layouts.datatable-header', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

<?php $__env->stopSection(); ?>





<?php $__env->startSection('content'); ?>

<!-- Page-Title -->

<div class="col-md-12">

    <div class="col-md-12 pd-0">

        <div class="u-shadow-v21 nbr g-bg-white rounded notice-board  mg-0 wow slideInUp" data-wow-duration="3s">

            <div class="media g-mb-15">

                <div>

                    <div class="bar-title" style="text-align:center">

                        <h1><a href=""><span> প্রশ্ন মার্ক বন্টন</span></a></h1>

                    </div>

                    <table class="table table-dark">
                        <thead>
                            <tr>
                                <th scope="col">SL</th>
                                <th scope="col"> Round</th>
                                <th scope="col"> Question Type</th>
                                <th scope="col"> Number</th>
                                <th scope="col"> Marks</th>
                                <th scope="col"> Edit</th>
                                <th scope="col">Delete</th>
                            </tr>
                        </thead>
                        <tbody>

                            <?php $i = 0; ?>

                            <?php if(count($questiondistributions) > 0): ?>
                            <?php $__currentLoopData = $questiondistributions; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $questiondistribution): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <tr>
                                <?php $i+=1; ?>
                                <th scope="row"><?php echo e($i); ?></th>
                                <td><?php echo e($questiondistribution->round_id); ?></td>
                                <td>
                                    <?php echo e($questiondistribution->question_type); ?>

                                </td>
                                <td><?php echo e($questiondistribution->number); ?></td>
                                <td><?php echo e($questiondistribution->marks); ?></td>
                                <td>
                                    <a href="<?php echo e(url('admin/qd')); ?>/<?php echo e($questiondistribution->id); ?>/edit"
                                        class="btn btn-danger btn-sm">
                                        <span class="glyphicon glyphicon-edit"> </span> Edit
                                    </a>

                                </td>

                                <td>

                                    <form class="form-horizontal" enctype="multipart/form-data" method="POST"
                                        action="<?php echo e(action('AdminController@qddelete', $questiondistribution->id)); ?>">

                                        <?php echo e(csrf_field()); ?>


                                        <a href="<?php echo e(url('admin/qd')); ?>/<?php echo e($questiondistribution->id); ?>/delete"
                                            class="btn btn-danger btn-sm">

                                            <span class="glyphicon glyphicon-trash"> </span>

                                        </a>

                                    </form>

                                </td>





                            </tr>

                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                            <?php else: ?>

                            <tr>

                                <td> No Data Found</td>

                            </tr>

                            <?php endif; ?>

                        </tbody>

                    </table>

                </div>

            </div>

        </div>



    </div>

</div>

</div>





<!-- end row -->

<?php $__env->stopSection(); ?>



<?php $__env->startSection('footer-script'); ?>

<?php echo $__env->make('admin.layouts.datatable-footer-script', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.layouts.app', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>