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