<?php $__env->startSection('title'); ?> Rôle <?php $__env->stopSection(); ?>
<?php $__env->startSection('title_card'); ?> Nouveau Rôle <?php $__env->stopSection(); ?>


<?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-success">
        <div class="card-header">
            <h2>Nouveau Rôle</h2>
        </div>
        <div class='card-body'>
            <?php echo e(html()->form('POST', url('roles'))->open()); ?>

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

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

<?php $__env->startSection('scripts'); ?>
    <script>
        $(function() {
            $('.select2').select2();
        })
    </script>
<?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/acces/roles/create.blade.php ENDPATH**/ ?>