MOON
Server: Apache
System: Linux server1.studioinfinity.com.br 2.6.32-954.3.5.lve1.4.90.el6.x86_64 #1 SMP Tue Feb 21 12:26:30 UTC 2023 x86_64
User: artinside (517)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/artinside/www/sabbry/themes/admin/views/fragments/table-variations.php
<?php if(isset($productVariation)):?>
    <div class="card-body">
        <?php $i = 1;
        foreach ($productVariation as $va):?>

            <?= $i%2==1?'<div class="form-group row">' : '' ;?>
                <div class="col-sm-6">
                    <label class="control-label"><?= $va->variation()->title ?>
                        <a class="j_del_variation text-danger"
                           data-id="<?= $va->id ?>"
                           data-url="<?= $router->route("products.addVariations") ?>"
                           data-action="delete"
                           data-gallery_link="<?= $va->product_id ?>"
                           data-confirm="Tem certeza que deseja deletar a Variação?"><b style="cursor: pointer">[x]</b></a>
                    </label>
                    <input type="text" class="j_variation_caracteristic form-control" name="title" value="<?= $va->caracteristic ?>"
                           data-id="<?= $va->id ?>"
                           data-url="<?= $router->route("products.addVariations") ?>"
                           data-action="addItem"
                           data-gallery_link="<?= $va->product_id ?>"
                    >
                    <!-- <span class="help-block">A block of help text that breaks onto a new line and may extend beyond one line.</span>-->
                </div>
            <?= $i%2==0?'</div>' : '' ;?>
        <?php $i++; endforeach; ?>


    </div>
<?php else:?>
    <div class="card-body">

    </div>
<?php endif;?>