?> </div> </div> <input type="hidden" name="idPapel" value="4" /> <div class="form-group col-md-2"> <button type="submit" class="btn btn-primary" id="autorizar">Autorizar</button> </div> </form> </div> <div class="col-md-6 pull-right"> <form id="voltarAluno" action="controles/aprovacriador.php" method="post"> <div class="form-group"> <label for="inputPapel" class="col-md-2 control-label"><h4>Criador</h4></label> <div class="col-md-12" required="required"> <?php listaUserSelect("idUsuario[]", "voltarAluno", 4); ?> </div> </div> <input type="hidden" name="idPapel" value="1" /> <div class="form-group col-md-2"> <button type="submit" class="btn btn-primary" id="autorizar">Remover</button> </div> </form> </div> </div> </div> </div> <!-- <div class="panel panel-success "> <div class="panel-heading"> <h3 class="panel-title">Gerenciar Papel Líder de Time</h3>
<!--<label for="inputNome" class="col-md-6 control-label">Autorizar Aluno</label>--> <?php listaUserSelect("idUsuario[]", "aserprofessor", 8); ?> </div> <input type="hidden" name="idPapel" value="3" /> <button type="submit" class="btn btn-success" id="salvar">Autorizar</button> </form> </div> <div class="col-md-6 pull-right"> <form id="voltarProfe" action="aprovaPapel.php" method="post"> <h4>Professores Autorizados</h4> <div class="form-group"> <div class="col-md-12" required="required"> <?php listaUserSelect("idUsuario[]", "voltarProfe", 3); ?> </div> </div> <input type="hidden" name="idPapel" value="8" /> <div class="form-group col-md-2"> <button type="submit" class="btn btn-success" id="autorizar">Modificar</button> </div> </form> </div> </div> </div> </div> </div> <?php } else {
<div class="form-group"> <label for="inputNome" class="col-md-2 control-label">Nome:</label> <div class="col-md-9"> <input type="text" class="form-control" name="nome" id="nomeTarefa" required="required"> </div> </div> <div class="form-group"> <label for="inputDescricao" class="col-md-2 control-label">Descrição:</label> <div class="col-md-9"> <textarea class="form-control" rows="3" name="descricao" id="descricaoTarefa"></textarea> </div> </div> <div class="form-group"> <label for="inputNome" class="col-md-6 control-label">Responsável</label> <div class="col-md-3"><?php listaUserSelect("responsavel", "formCriatarefa"); ?> </div> </div> <div class="form-group"> <label for="inputInicio3" class="col-sm-2 control-label">Início</label> <div class="col-sm-4"> <input type="date" class="form-control" name="inicio" placeholder="dd/mm/yyyy" id="diniTarefa" required="required"> </div> <label for="inputFim" class="col-sm-1 control-label">Fim</label> <div class="col-sm-4"> <input type="date" class="form-control" name="fim" placeholder="dd/mm/yyyy" id="dfimTarefa" required="required" > </div> </div> <input type="hidden" name="idMissao" value="<?php echo $idMissao;