<div class="control-group <?php if (!empty($_POST['cmd']) && empty($_POST['assunto'])) { echo 'error'; } ?> "> <div class="span1"> <label class="" for="typeahead">Titulo </label> </div> <div class="controls"> <div class="span1"> <label class="radio"> <input disabled="disabled" name="titulo" type="text" value="<?php echo $checkList->getTitulo(); ?> "> </label> </div> </div> </div> <div class="control-group <?php if (!empty($_POST['cmd']) && empty($_POST['assunto'])) { echo 'error'; } ?> "> <div class="span1">