<div id="modalUsuario" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" style="display: none;">
    <div class="modal-dialog modal-lg modal-dialog-centered">
        <div class="modal-content">
            <form id="form">
                <?php echo csrf_field(); ?>
                <input type="hidden" name="id" id="id" value="0">
                <div class="modal-header">
                    <h4 class="modal-title"></h4>
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                </div>
                <div class="modal-body pl-4 pr-4">   
                    <div class="row">
                        <div class="col-lg-6">
                            <div class="form-group mb-2">
                                <label>Nombre</label>
                                <div class="input-group">
                                    <input type="text" name="nombre" id="nombre" class="form-control input-required" maxlength="<?php echo e(getMaxLength('configuracion.usuario.nombre')); ?>">
                                </div>
                            </div>
                        </div>
                        <div class="col-lg-6">
                            <div class="form-group mb-2">
                                <label>Apellido</label>
                                <div class="input-group">
                                    <input type="text" name="apellido" id="apellido" class="form-control input-required"  maxlength="<?php echo e(getMaxLength('configuracion.usuario.apellido')); ?>">
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-lg-6">
                            <div class="form-group mb-2">
                                <label>Email</label>
                                <div class="input-group">
                                    <input type="text" name="email" id="email" class="form-control input-required"  maxlength="<?php echo e(getMaxLength('configuracion.usuario.email')); ?>">
                                </div>
                            </div>
                        </div>
                        <div class="col-lg-6">
                            <div class="form-group mb-2">
                                <label>Usuario</label>
                                <div class="input-group">
                                    <input type="text" name="usuario" id="usuario" class="form-control input-required"  maxlength="<?php echo e(getMaxLength('configuracion.usuario.usuario')); ?>">
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-lg-6">
                            <div class="form-group mb-2">
                                <label>Telefonos</label>
                                <div class="input-group">
                                    <input type="text" name="telefonos" id="telefonos" class="form-control"  maxlength="<?php echo e(getMaxLength('configuracion.usuario.telefonos')); ?>">
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-lg-6">
                            <div class="form-group mb-2">
                                <label>Contraseña</label>
                                <div class="input-group">
                                    <input type="password" name="clave" id="clave" class="form-control"  maxlength="<?php echo e(getMaxLength('configuracion.usuario.clave')); ?>">
                                </div>
                            </div>
                        </div>
                        <div class="col-lg-6">
                            <div class="form-group mb-2">
                                <label>Reingrese Contraseña</label>
                                <div class="input-group">
                                    <input type="password" name="clave2" id="clave2" class="form-control"  maxlength="<?php echo e(getMaxLength('configuracion.usuario.clave2')); ?>">
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <?php if(Auth::user()->hasRole('Administrador')): ?>
                            <div class="col-lg-6">
                                <div class="form-group mb-2">
                                    <label>Empresa</label>
                                    <div class="input-group">
                                        <select name="idEmpresa" id="idEmpresa" class="form-control input-required">
                                            <option value=""></option>
                                            <?php $__currentLoopData = $empresas; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $empresa): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                <option value="<?php echo e($empresa->idEmpresa); ?>">[<?php echo e($empresa->idEmpresa); ?>] <?php echo e($empresa->RazonSocial); ?></option>
                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                        </select>
                                    </div>
                                </div>
                            </div>
                        <?php endif; ?>
                        <div class="col-lg-6">
                            <div class="form-group mb-2">
                                <label>Tipo Usuario</label>
                                <div class="input-group">
                                    <select name="tipoUsuario" id="tipoUsuario" class="form-control input-required">
                                        <option value=""></option>
                                        <?php $__currentLoopData = $roles; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $rol): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <option value="<?php echo e($rol->name); ?>"><?php echo e($rol->name); ?></option>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </select>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-lg-6">
                            <div class="form-group mb-4">
                                <label>Estado</label>
                                <div class="input-group">
                                    <select name="hab" id="hab" class="form-control input-required">
                                        <option value="1">Habilitado</option>
                                        <option value="0">Inhabilitado</option>
                                    </select>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="alert alert-danger print-error-msg" style="display:none">
                        <ul></ul>
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="submit" class="btn btn-rounded btn-info waves-effect">Grabar</button>
                    <button type="button" class="btn btn-rounded btn-danger waves-effect" data-dismiss="modal">Cerrar</button>
                </div>
            </form>
        </div>
    </div>
</div><?php /**PATH C:\xampp\htdocs\ControlFlow\resources\views/configuracion/usuarios/modal.blade.php ENDPATH**/ ?>