<form action="<?php echo e(route('chapter_3.activit', $url)); ?>" method="post">
  <?php echo csrf_field(); ?>
  <div class="modal-body">
    <button type="button" class="btn mb-2 p-0 chapter3_4" data-id="<?php echo e($theme); ?>" style="width: 25px; float: right; border: 1px solid grey">+</button>
    <table class="table table-bordered mt-" id="myTable<?php echo e($theme); ?>" style="width: 100%">
      <tbody>
        <?php $i = 1; ?>
        <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::openLoop(); ?><?php endif; ?><?php $__empty_1 = true; $__currentLoopData = $datas; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::startLoop($loop->index); ?><?php endif; ?>
          <tr>
            <td style="width: 100%">
              <div class="row">
                <div class="col-sm-4">
                  <label class="col-form-label" for="<?php echo e($id1.$i); ?>">Activité<span class="text-danger">*</span> :</label>
                  <input type="text" name="tab1[]" id="<?php echo e($id1.$i); ?>" class="form-control" value="<?php echo e($item->activit); ?>">
                </div>
                <div class="col-sm-4">
                  <label class="col-form-label" for="<?php echo e($id2.$i); ?>">Date debut<span class="text-danger">*</span> :</label>
                  <input type="date" name="tab2[]" id="<?php echo e($id2.$i); ?>" class="form-control" value="<?php echo e($item->date_dbt); ?>">
                </div>
                <div class="col-sm-4">
                  <label class="col-form-label" for="<?php echo e($id3.$i); ?>">Date fin<span class="text-danger">*</span> :</label>
                  <input type="date" name="tab3[]" id="<?php echo e($id3.$i); ?>" class="form-control" value="<?php echo e($item->date_fin); ?>">
                </div>
              </div>
              <div class="row">
                  <div class="col-sm-4">
                    <label class="col-form-label" for="<?php echo e($id4.$i); ?>">Classe<span class="text-danger">*</span> :</label>
                    <select id="<?php echo e($id4.$i); ?>" class="form-control getClass" data-id="<?php echo e($i); ?>" data-lib="<?php echo e($id4); ?>">
                      <option value="">Select ...</option>
                      <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::openLoop(); ?><?php endif; ?><?php $__currentLoopData = $classes; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $classe): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::startLoop($loop->index); ?><?php endif; ?>
                        <option value="<?php echo e($classe->id); ?>" <?php echo e($classe->id == $item->inscription->classe_id ? 'selected':null); ?>><?php echo e(ucfirst($classe->libelle)); ?></option>
                      <?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; ?>
                    </select>
                  </div>
                  <div class="col-sm-4">
                    <label class="col-form-label" for="<?php echo e($id5.$i); ?>">Elève<span class="text-danger">*</span> :</label>
                    <select name="tab4[]" id="<?php echo e($id5.$i); ?>" class="form-control">
                      <option class="<?php echo e('opt_'.$let.'_'.$i); ?>" value="<?php echo e($item->inscription_id); ?>">
                        <?php echo e(strtoupper($item->inscription->student->first_name).' '.ucwords($item->inscription->student->last_name)); ?>

                      </option>
                    </select>
                  </div>
                  <div class="col-sm-4">
                    <label class="col-form-label" for="<?php echo e($id6.$i); ?>">Educateur<span class="text-danger">*</span> :</label>
                    <select name="tab5[]" id="<?php echo e($id6.$i); ?>" class="form-control">
                      <option value="">Select ...</option>
                      <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::openLoop(); ?><?php endif; ?><?php $__currentLoopData = $educs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $user): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::startLoop($loop->index); ?><?php endif; ?>
                        <option value="<?php echo e($user->id); ?>" <?php echo e($user->id == $item->user_id ? 'selected':null); ?>><?php echo e(($user->sexe == "F" ? "Mme":"Mr")." ".strtoupper($user->first_name)." ".ucwords($user->last_name)); ?></option>
                      <?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; ?>
                    </select>
                  </div>
              </div>
            </td>
          </tr>
        <?php $i++ ?>
        <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::endLoop(); ?><?php endif; ?><?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::closeLoop(); ?><?php endif; ?>
        <tr>
          <td style="width: 100%">
            <div class="row">
              <div class="col-sm-4">
                <label class="col-form-label" for="<?php echo e($id1); ?>1">Activité<span class="text-danger">*</span> :</label>
                <input type="text" name="tab1[]" id="<?php echo e($id1); ?>1" class="form-control" placeholder="---">
              </div>
              <div class="col-sm-4">
                <label class="col-form-label" for="<?php echo e($id2); ?>1">Date debut<span class="text-danger">*</span> :</label>
                <input type="date" name="tab2[]" id="<?php echo e($id2); ?>1" class="form-control" placeholder="---">
              </div>
              <div class="col-sm-4">
                <label class="col-form-label" for="<?php echo e($id3); ?>1">Date fin<span class="text-danger">*</span> :</label>
                <input type="date" name="tab3[]" id="<?php echo e($id3); ?>1" class="form-control" placeholder="---">
              </div>
            </div>
            <div class="row">
                <div class="col-sm-4">
                  <label class="col-form-label" for="<?php echo e($id4); ?>1">Classe<span class="text-danger">*</span> :</label>
                  <select id="<?php echo e($id4); ?>1" class="form-control getClass" data-id="1" data-lib="<?php echo e($id4); ?>">
                    <option value="">Select ...</option>
                    <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::openLoop(); ?><?php endif; ?><?php $__currentLoopData = $classes; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $classe): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::startLoop($loop->index); ?><?php endif; ?>
                      <option value="<?php echo e($classe->id); ?>"><?php echo e(ucfirst($classe->libelle)); ?></option>
                    <?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; ?>
                  </select>
                </div>
                <div class="col-sm-4">
                  <label class="col-form-label" for="<?php echo e($id5); ?>1">Elève<span class="text-danger">*</span> :</label>
                  <select name="tab4[]" id="<?php echo e($id5); ?>1" class="form-control">
                    <option value="">Select ...</option>
                  </select>
                </div>
                <div class="col-sm-4">
                  <label class="col-form-label" for="<?php echo e($id6); ?>1">Educateur<span class="text-danger">*</span> :</label>
                  <select name="tab5[]" id="<?php echo e($id6); ?>1" class="form-control">
                    <option value="">Select ...</option>
                    <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::openLoop(); ?><?php endif; ?><?php $__currentLoopData = $educs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $user): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::startLoop($loop->index); ?><?php endif; ?>
                      <option value="<?php echo e($user->id); ?>"><?php echo e(($user->sexe == "F" ? "Mme":"Mr")." ".strtoupper($user->first_name)." ".ucwords($user->last_name)); ?></option>
                    <?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; ?>
                  </select>
                </div>
            </div>
          </td>
        </tr>
        <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
      </tbody>
    </table>
  </div>
  <div class="modal-footer">
    <input type="hidden" name="school" value="<?php echo e($school); ?>">
    <input type="hidden" name="cutting" value="<?php echo e($cutting); ?>">
    <button class="btn btn-inverse btn-outline-inverse btn-sm py-1 mx-2" data-dismiss="modal">Fermer</button>
    <button class="btn btn-inverse btn-outline-inverse btn-sm py-1 mx-2">Valider</button>
  </div>
</form><?php /**PATH C:\Users\EDUCAS\Desktop\App\V4_001\resources\views\partials\chapter3\_form.blade.php ENDPATH**/ ?>