<?php if(!isset($destino)){ $destino="_self";}?>
<?php if(!isset($noeditar) OR !$noeditar){?>
<a href="<?php echo MAGO?>c/<?php echo MODULO?>/editar/<?php echo $row->id?>" target="<?php echo $destino?>"><button type="button" class="mb-xs mt-xs mr-xs btn btn-primary btn-sm"><i class="far fa-edit"></i></button></a>
<?php }?>
<?php if(!isset($noeliminar) OR !$noeliminar){?>
<a href="<?php echo MAGO?>c/<?php echo MODULO?>/eliminar/<?php echo $row->id?>" onclick="return confirm('&iquest;Seguro quieres borrar?')" ><button type="button" class="mb-xs mt-xs mr-xs btn btn-danger btn-sm"><i class="far fa-trash-alt"></i></button></a>
<?php }?>