<div class="card">
  <div class="card-header pb-0">
    <div class="d-flex justify-content-between pb-2">
    <h4>School Available - <?php echo e(count($schools) <= 9 ? '0'.count($schools):count($schools)); ?></h4>
    <span>
        <a href="<?php echo e(route('school.create')); ?>" class="btn btn-inverse btn-outline-inverse  btn-sm mx-1 py-1" title="Add School"><i class="fas fa-plus mx-0"></i></a>
        <a href="<?php echo e(route('school.index')); ?>" class="btn btn-inverse btn-outline-inverse  btn-sm mx-1 py-1" title="Disabled School"> <i class="fas fa-underline m-0"></i></a>
      </span>
  </div>
  </div>
  <hr class="my-0 mx-3">
  <div class="card-block tab-content">
    <div class="table-responsive dt-responsive">
      <table id="myTable" class="table table-striped table-bordered nowrap" style="width:100%">
        <thead>
          <tr>
            <th class="text-center" style="width: 5%"></th>
            <th style="width: 35%">Etablissement</th>
            <th style="width: 20%">Numéro Autorisation</th>
            <th style="width: 20%">Code Etablissement</th>
            <th class="text-center" style="width: 15%">Actions</th>
          </tr>
        </thead>
        <tbody>
          <?php $i = 1 ?>
          <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::openLoop(); ?><?php endif; ?><?php $__currentLoopData = $schools; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $school): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::startLoop($loop->index); ?><?php endif; ?>
          <tr>
            <th class="text-center"><?php echo e($i <= 9 ? '0'.$i++:$i++); ?></th>
            <td><?php echo e(ucfirst($school->name_school)); ?></td>
            <td><?php echo e(ucfirst($school->num_autorisation)); ?></td>
            <td><?php echo e(ucfirst($school->code_school)); ?></td>
            <td class="py-2">
              <div class="card-block remove-label m-0 py-1 text-center">
                <a href="<?php echo e(route('school.edit',$school->id)); ?>" class="btn btn-inverse btn-outline-inverse btn-icons"><i class="far fa-edit"></i></a>
              </div>
            </td>
          </tr>
          <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::endLoop(); ?><?php endif; ?><?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::closeLoop(); ?><?php endif; ?>
        </tbody>
      </table>
    </div>
  </div>
</div><?php /**PATH C:\Users\EDUCAS\Desktop\App\V4_001\resources\views\partials\_table_school.blade.php ENDPATH**/ ?>