<li class="size" style="display: <?= empty($row['attr-size']) ? 'none' : 'block'; ?>">Размер <?php echo $row['attr-size']; ?>мм</li>
"message" => "<div class=\"models\"></div>",
<form class="form-elements p-0 m-0" role="form" data-request="<?= $this->onFullForm() ?>">
<?php foreach($props as $prop): ?>
<div class="form-group span-left">
<label for="<?= $prop->id ?>"><?= $prop->name ?></label>
<input name="props[prop_<?= $prop->id ?>]" type="text" class="form-control" />
</div>
<br>
<?php endforeach; ?>
<button type="submit" class="btn btn-primary btn-lg text-white mt-3 form-control">
Обновить значения
</button>
</form>