xref: /webtrees/resources/views/edit/input-addon-calendar.phtml (revision 0db1e7d20bab9209012a4f3fdc1af3ef87a1a528)
1<?php
2
3declare(strict_types=1);
4
5use Fisharebest\Webtrees\I18N;
6
7/**
8 * @var string $id
9 */
10
11?>
12
13<span class="input-group-text">
14    <a href="#" onclick="return webtrees.calendarWidget('caldiv<?= e($id) ?>', '<?= e($id) ?>');" title="<?= I18N::translate('Select a date') ?>">
15        <?= view('icons/calendar') ?>
16        <span class="visually-hidden">
17            <?= I18N::translate('Select a date') ?>
18        </span>
19    </a>
20</span>
21