<?php
header('Content-type: text/html; charset=ISO-8859-1');
$index = ($Teste->EFC_CODIGO > 0) ? $Teste->EFC_CODIGO : rand();
?>

<div class="div-casos-teste txtarea_esp_50 esp-box">
    <input name="casosTeste[<?php echo $index; ?>][EFC_CODIGO]" type="hidden" value="<?php echo $Teste->EFC_CODIGO; ?>" />
    <a href="javascript:void(0);" class="excluir-casos-teste link-excluir-item"><i class="fa fa-times"></i></a>
    <div class="row">
        <label for="EFC_CASOTESTE_<?php echo $index; ?>" class="required">Caso de Teste <span class="required">*</span></label>
        <input id="EFC_CASOTESTE_<?php echo $index; ?>" name="casosTeste[<?php echo $index; ?>][EFC_CASOTESTE]" class="validate[required]" type="text" value="<?php echo $Teste->EFC_CASOTESTE; ?>" />
    </div><!-- row -->
    <div class="row">
        <label for="EFC_DESCRICAO_<?php echo $index; ?>" class="required">Descrição <span class="required">*</span></label>
        <textarea id="EFC_DESCRICAO_<?php echo $index; ?>" name="casosTeste[<?php echo $index; ?>][EFC_DESCRICAO]" class="validate[required]"><?php echo $Teste->EFC_DESCRICAO; ?></textarea>
    </div><!-- row -->
</div>