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