<!-- ============================================================== -->
<!-- Marina (23/08/2019)  Composición de las lineas de la tabla -->
<!-- ============================================================== -->
<?php
  $parametrosPlantilla = Theme::getLastParamList();
  $camposTabla = Theme::getLastParam('camposTabla');
  $filasTabla = Theme::getLastParam('filasTabla');

  foreach($filasTabla as $indiceFila => $fila){
?>
  <tr>
    <?php
      foreach($camposTabla as $campo => $valor){
    ?>              
      <th scope="row"><?=$fila->$valor;?></th>
    <?php
      }
    ?>
    <td>
      <span class="acciones_lista">
		  <form method="post" class="editarKeyword" action="<?=Shop::$configuracion->url . Sections::$current_section;?>">
			<button class="btn btn-success" title="<?=traducir('Editar palabra');?>"><i class="mdi mdi-pencil"></i></button>
			<input type="hidden" name="codigoKeyword" value="<?=$fila->codigo;?>"/>
			<input type="hidden" name="editarKeyword" value="1"/>
			<button type="submit" class="hide"></button>
		  </form>
		</span>
		<span class="acciones_lista">
		  <form method="post" class="borradoKeyword" action="<?=Shop::$configuracion->url . Sections::$current_section;?>">
			<button class="btn btn-danger" title="<?=traducir('Borrar palabra');?>"><i class="mdi mdi-delete"></i></button>
			<input type="hidden" name="codigoKeyword" value="<?=$fila->codigo;?>"/>
			<input type="hidden" name="borrarKeyword" value="<?=$fila->codigo;?>"/>
			<button type="submit" class="hide"></button>
		  </form>
		</span>
    </td>
  </tr>
<?php
  }
?>