<div class="drag" id="categorize-element-<?php echo $data['id']; ?>"<?= (!empty($data['description']) ? ' data-tooltip="#categorize-element-' . $data['id'] . '-info"' : '') ?>>
    <h4><?= $data['name'] ?></h4>
    <?php if (!empty($data['description'])) : ?>
        <p id="categorize-element-<?php echo $data['id']; ?>-info"><?= $data['description'] ?></p>
    <?php endif; ?>
</div>
