<?php
use Icinga\Web\Widget\SearchDashboard;
?>

<? if (SearchDashboard::search('dummy')->getPane('search')->hasComponents()): ?>
    <form action="<?= $this->href('search') ?>" method="get" role="search">
        <input
            type="text" name="q" class="search autofocus" placeholder="<?= $this->translate('Search...') ?>"
            autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
        />
    </form>
<? endif; ?>
<?= $menuRenderer; ?>
