<?php if ($attribute_groups) { ?>
<div class="tab-pane" id="tab-specification">
<div class="short-attributes-groups">
<?php foreach ($attribute_groups as $attribute_group) { ?>
<div class="attr-group-name"><?php echo $attribute_group['name']; ?></div>
<?php foreach ($attribute_group['attribute'] as $attribute) { ?>
<div class="short-attribute">
<span class="attr-name"><span><?php echo $attribute['name']; ?></span></span>
<span class="attr-text"><span><?php echo strip_tags($attribute['text']); ?></span></span>
</div>
<?php } ?>
<?php } ?>
</div>
</div>
<?php } ?>