<div class="panel-header page-actions">
    <div>
        <p class="eyebrow"><?= e($eyebrow ?? 'Management') ?></p>
        <h2><?= e($title ?? '') ?></h2>
    </div>
    <div class="action-row">
        <?php if (!empty($searchAction)): ?>
            <form method="get" action="<?= e($searchAction) ?>" class="search-form">
                <input type="search" name="search" value="<?= e($search ?? '') ?>" placeholder="Search...">
                <button class="btn btn-light" type="submit">Search</button>
            </form>
        <?php endif; ?>
        <?php if (!empty($secondaryUrl)): ?><a class="btn btn-light" href="<?= e($secondaryUrl) ?>"><?= e($secondaryText ?? 'Open') ?></a><?php endif; ?>
        <?php if (!empty($createUrl)): ?>
            <a class="btn btn-primary" href="<?= e($createUrl) ?>"><?= e($createText ?? 'Add New') ?></a>
        <?php endif; ?>
    </div>
</div>
