<?php $__env->startSection('content'); ?>
    <section class="container all-container">
        <div class="card mb-3">
            <div class="card-header">
               <i class="fab fa-buromobelexperte"></i> Nuevo Modulo
            </div>
            <div class="card-body padding-10">
                <form action="<?php echo e(route('agregar-modulo')); ?>" method="post"  id="form-datos">
                    <?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">
                            <input type="text" id="nombre" name="nombre"  class="form-control" placeholder="Nombre" required>
                        </div>
                    </div>
                    <div class="form-group row">
                        <label for="inputPassword3" class="col-sm-2 col-form-label">Aplicacion</label>
                        <div class="col-sm-10">
                        <select class="form-control" name="aplicacion">
                            <?php $__currentLoopData = $aplicaciones; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $aplicacion): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                             <option value="<?php echo e($aplicacion->id); ?>"><?php echo e($aplicacion->nombre); ?></option>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </select>
                        </div>
                    </div>
                    <div class="form-group row">
                        <label for="inputEmail3" class="col-sm-2 col-form-label">Descripcion</label>
                        <div class="col-sm-10">
                            <textarea id="Descripcion" style="resize: none;" rows="5" name="Descripcion"  class="form-control" placeholder="Descripcion" required></textarea>
                        </div>
                    </div><hr>
                    <div class="form-group row">
                        <div class="col-sm-10">
                            <button type="submit" class="btn btn-light light2">Guardar</button>
                        </div>
                    </div>
                </form>
            </div>
            <div class="card-footer small text-muted">
            </div>
        </div>
    </section>
	<script  src="<?php echo e(asset('js/agregar.js')); ?>"></script>
	<link  media="all" rel="stylesheet" type="text/css" href="<?php echo e(asset('css/general.css')); ?>">
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.dashboard', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>