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