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