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