<h2>Asignar usuarios a la tarea</h2> </div> <div class="col-md-8 col-md-offset-2 table-responsive"> <table class="table table-striped"> <thead> <tr> <th>Añadir</th> <th>Nombre</th> <th class="text-center">Horas</th> <th class="text-center">Labor</th> </tr> </thead> <tbody> <?php $sUsuario = new ServiceUsuario(); $list = $sUsuario->getUsuarios(); foreach ($list as $usuario) { ?> <tr> <td class="vert-align text-center"> <input type="text" name="usuarioDNI[]" class="hidden" value="<?php echo $usuario->dni; ?> " disabled/> <input type="checkbox" name="usuarioCheckbox" /> <span></span> </td> <td class="vert-align"> <label><?php echo $usuario->nombre; ?>