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