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