xref: /webtrees/resources/views/edit/input-addon-calendar.phtml (revision 61351a03dbeb5920221fcb08c904615fe551fd3a)
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