<?php $__env->startSection('content'); ?>
    <section class="container all-container">
        <div class="card mb-3">
            <div class="card-header">
               <i class="fab fa-wpforms"></i> Asignar aplicacion a <?php echo e($usuario->name); ?>

            </div>
            <div class="card-body">
                <form url="<?php echo e(route('asignarApp',[$usuario->id])); ?>" url2="<?php echo e(route('user',[$usuario->id])); ?>" id="formulario-asignar-user">
                    <?php echo csrf_field(); ?>
                    <div class="form-group row">
                        <label for="inputEmail3" class="col-sm-2 col-form-label">Nombre</label>
                        <div class="col-sm-10">
                            <select class="form-control col-md-4" name="aplicacion" required>
                                <?php $__currentLoopData = $aplicaciones; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $aplicaciones): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <option value="<?php echo e($aplicaciones->id); ?>"><?php echo e($aplicaciones->nombre); ?></option>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </select>
                        </div>
                    </div>
                    <input type="hidden" name="usuario" required value="<?php echo e($usuario->id); ?>">
                    <div class="form-group row">
                        <div class="col-sm-10">
                            <button type="submit" class="btn btn-primary">Guardar</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </section>
	<script src="<?php echo e(asset('js/sweetalert.min.js')); ?>"></script>
	<link  media="all" rel="stylesheet" type="text/css" href="<?php echo e(asset('css/cliente.css')); ?>">
	<script  src="<?php echo e(asset('js/user.js')); ?>"></script>
	<link  media="all" rel="stylesheet" type="text/css" href="<?php echo e(asset('css/aplicacion.css')); ?>">
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.dashboard', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>