<h4>Permissions sur les paramètres</h4>
<form method="POST" action="<?php echo e(route('structure.update', $structure->id)); ?>">
    <?php echo csrf_field(); ?>
    <?php echo e(method_field('PUT')); ?>


    <input name="type_permission" type="hidden" value="parametre">
    <table class="table table-striped table-bordered">
        <thead>
        <tr>
            <th scope="col">Rôle</th>
            <th scope="col">Voir</th>
            <th scope="col">Ajouter</th>
            <th scope="col">Editer</th>
            <th scope="col">Importer</th>
            <th scope="col">Supprimer</th>
        </tr>
        </thead>
        <tbody>
        <?php $__currentLoopData = $roles; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $r): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <tr>
                <td scope="row"><?php echo e(ROLE::ROLES_FORMATTED[$r->name]); ?></td>
                <td><input type="checkbox" id="<?php echo e($r->id); ?>-see_parametre" name="<?php echo e($r->id); ?>-see_parametre" <?php if($r->hasPermissionTo('see_parametre')): ?> checked <?php endif; ?>></td>
                <td><input type="checkbox" id="<?php echo e($r->id); ?>-add_parametre" name="<?php echo e($r->id); ?>-add_parametre" <?php if($r->hasPermissionTo('add_parametre')): ?> checked <?php endif; ?>></td>
                <td><input type="checkbox" id="<?php echo e($r->id); ?>-edit_parametre" name="<?php echo e($r->id); ?>-edit_parametre" <?php if($r->hasPermissionTo('edit_parametre')): ?> checked <?php endif; ?>></td>
                <td><input type="checkbox" id="<?php echo e($r->id); ?>-importer_parametre" name="<?php echo e($r->id); ?>-importer_parametre" <?php if($r->hasPermissionTo('importer_parametre')): ?> checked <?php endif; ?>></td>
                <td><input type="checkbox" id="<?php echo e($r->id); ?>-delete_parametre" name="<?php echo e($r->id); ?>-delete_parametre" <?php if($r->hasPermissionTo('delete_parametre')): ?> checked <?php endif; ?>></td>
            </tr>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </tbody>
    </table>

    <div class="form-group row mb-0 float-right">
        <div class="col-md-8">
            <button type="submit" class="btn btn-outline-success">
                Sauvegarder
            </button>
        </div>
    </div>
</form>
<?php /**PATH /var/www/html/resources/views/parametres/structure/onglets/parametres.blade.php ENDPATH**/ ?>