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