<?php
  if( $_POST['Action'] == 'New' ){
    $Action = $_POST['Action'];
    $Consecutivo = $_POST['Con'];
  }
?>
<tr class="Serie">
  <td>
    <input name="SerieId[]" type="hidden" value="<?php echo $Consecutivo; ?>" />
    <input name="Serie[<?php echo $Consecutivo; ?>][Action]" type="hidden" value="<?php echo $Action; ?>" />
    <input name="Serie[<?php echo $Consecutivo; ?>][Id]" type="hidden" value="<?php echo $Serie['Id']; ?>" />
    <input name="Serie[<?php echo $Consecutivo; ?>][Nombre]" data-required="true" class="form-control InSinEspacios" value="<?php echo $Serie['Nombre']; ?>" autocomplete="off" />
  </td>
  <td>
    <input name="Serie[<?php echo $Consecutivo; ?>][Folio]" class="form-control" value="<?php echo $Serie['Folio']; ?>" autocomplete="off" />
  </td>
  <td>
    <textarea class="form-control" name="Serie[<?php echo $Consecutivo; ?>][Descripcion]"><?php echo $Serie['Descripcion']; ?></textarea>
  </td>
  <td>
    <button type="button" class="btn btn-danger btn-sm BtnDelSerie" data-toggle="tooltip" data-placement="top" title="" data-original-title="Eliminar"><i class="fa fa-times"></i></button>
  </td>
</tr>
