aboutsummaryrefslogtreecommitdiff
path: root/app/views/files_dashboard/_input-group-search.php
blob: 402c62d0645a932a0231c2fdf873353bfab8de18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<div class="input-group files-search">
    <input
        name="q"
        value="<?= htmlReady($query ?? '') ?>"
        placeholder="<?= _('Was suchen Sie?') ?>"
        aria-label="<?= _('Was suchen Sie?') ?>"
        minlength="4"
        size="10"
        type="text">

    <span class="input-group-append">
        <button type="submit" class="button">
            <?= Icon::create('search')->asImg(['title' => _('Suche starten')]) ?>
        </button>

        <? if (!empty($query)) : ?>
            <?= \Studip\LinkButton::createReset(_('Zurücksetzen'), $controller->url_for('files_dashboard/search')) ?>
        <? endif ?>
    </span>
</div>