Guest User

Untitled

a guest
Dec 14th, 2018
69
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. <div class="control-group <?php echo !empty($sexoErro)?'error ': '';?>">
  3. <label class="control-label">Sexo</label>
  4. <div class="controls">
  5. <div class="form-check">
  6. <p class="form-check-label">
  7. <input class="form-check-input" type="radio" name="sexo" id="sexo" value="M" <?php echo ($sexo=="M" ) ? "checked" : null; ?>/> Masculino
  8. </div>
  9. <div class="form-check">
  10. <input class="form-check-input" type="radio" name="sexo" id="sexo" value="F" <?php echo ($sexo=="F" ) ? "checked" : null; ?>/> Feminino
  11. </div>
  12. </p>
  13. <?php if(!empty($sexoErro)): ?>
  14. <span class="help-inline"><?php echo $sexoErro;?></span>
  15. <?php endif;?>
  16. </div>
RAW Paste Data