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