<?php $__env->startSection('title'); ?> Employeurs <?php $__env->stopSection(); ?>
<?php $__env->startSection('title_card'); ?> Mise à jour d'une fiche Employeur <?php $__env->stopSection(); ?>
<?php $__env->startSection('subtitle_card',"Liste complète"); ?>


<?php $__env->startSection('content'); ?>
    <?php if($errors): ?>
        <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <div class='bg-danger alert'><?php echo $error; ?></div>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    <?php endif; ?>
    <div class="card card-info">
        <div class="card-header">
            <h3 class="card-title"><?php echo $employeur->nom; ?></h3>
        </div>
        <div class='card-body'>
            <?php if(isset($mode_lettrage) && ($mode_lettrage)): ?>
                <?php echo e(html()->modelForm($employeur, 'PUT', url('employeurs_lettrage/' . $employeur->id.'/'.$origine))->open()); ?>

            <?php else: ?>
                <?php echo e(html()->modelForm($employeur, 'PUT', url('employeurs/' . $employeur->id))->open()); ?>

            <?php endif; ?>
                <?php echo e(html()->hidden( 'origine',$origine)); ?>

                <?php echo $__env->make("tiers.employeurs.content", \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
            <?php echo e(html()->closeModelForm()); ?>

        </div>
    </div>

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

<?php $__env->startSection('styles'); ?>
    <!-- FancyBox -->
    <link media="all" type="text/css" rel="stylesheet" href="<?php echo e(url('css/jquery.fancybox.css')); ?>">
    <link media="all" type="text/css" rel="stylesheet" href="<?php echo e(url('css/jquery.fancybox-buttons.css')); ?>">
<?php $__env->stopSection(); ?>



<?php $__env->startSection('scripts0'); ?>
    <script src="<?php echo e(url('js/jquery.fancybox.js')); ?>"></script>
    <script src="<?php echo e(url('js/magicsuggest.js')); ?>"></script>

    <?php echo $__env->make('tiers.employeurs.scripts_employeur', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>;
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.dash', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\SYSINFO\cpswf\sipre2\resources\views/tiers/employeurs/edit.blade.php ENDPATH**/ ?>