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

            <div class="card-header">
                    <h4>Manage Board Pattern </h4>
                    <a class="btn  btn-primary  float-right" href="<?php echo e(route('admin.addstudentspattern')); ?>"> Add Board Pattern  </a>
                  </div>
                  <div class="card-body"> 
                    <?php echo $__env->make('admin.partials.flash-messages', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
                    <div class="table-responsive"> 
                     <div class="table-responsive">
                      <table class="table table-striped table-hover" id="tableExport" style="width:100%;">
                        <thead>
                          <tr>
                            <th>Board Pattern Name</th>       
                            <th>Short Name</th>                                                                     
                            <th>Action</th> 
                          </tr>
                        </thead>
                        <tbody>
                          <?php $__empty_1 = true; $__currentLoopData = $boardpattern; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $pattern): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                            <tr>
                              <td><?php echo e($pattern->boardname); ?></td>     
                              <td><?php echo e($pattern->showname); ?></td>                            
                              <td>
                                <a class="btn btn-success btn-sm"  data-toggle="tooltip" data-placement="top"  title="Edit Board Pattern" href="<?php echo e(route('admin.editstudentspattern', ['id' => $pattern->id])); ?>"> <i class='fas fa-pencil-alt'></i> </a>
                                &nbsp;  &nbsp;  
                                <form action="<?php echo e(route('admin.deletestudentspattern', ['id' => $pattern->id])); ?>" method="post" class="d-inline-block">
                                  <?php echo csrf_field(); ?>
                                  <button type="submit" class="btn btn-danger deletedata" data-toggle="tooltip" data-placement="top" title="Delete Board Pattern" data-confirm-message="Are you sure you want to delete this board pattern?"><i class='fas fa-trash'></i></button>
                                </form>
                              </td>
                            </tr>
                          <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
                            <tr>
                              <td colspan="3" class="text-center text-muted font-weight-bold">No board patterns have been added yet.</td>
                            </tr>
                          <?php endif; ?>
                          
                        </tbody>
                      </table>
                    </div>
            </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.admin', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\xampp\htdocs\examproject\examproject_new\resources\views/admin/pattern/managestudentspattern.blade.php ENDPATH**/ ?>