<div class="toolbar-widget <?= $cssClasses ?>" id="<?= $this->getId() ?>">
    <div class="control-toolbar">

        <!-- Control Panel -->
        <div class="toolbar-item toolbar-primary">
            <?= ($controlPanel) ?: '&nbsp;' ?>
        </div>

        <!-- List Search -->
        <?php if ($search): ?>
            <div class="toolbar-item" data-calculate-width>
                <?= $search ?>
            </div>
        <?php endif ?>

    </div>
</div>