xref: /webtrees/resources/views/edit/input-addon-calendar.phtml (revision 7c2c99fad7cacd17c98be88238ff735d82c6351b)
1d70512abSGreg Roach<?php
2d70512abSGreg Roach
3d70512abSGreg Roachuse Fisharebest\Webtrees\I18N;
4d70512abSGreg Roach
5*7c2c99faSGreg Roach/**
6*7c2c99faSGreg Roach * @var string $id
7*7c2c99faSGreg Roach */
8*7c2c99faSGreg Roach
9d70512abSGreg Roach?>
10dd6b2bfcSGreg Roach
11dd6b2bfcSGreg Roach<div class="input-group-append">
12dd6b2bfcSGreg Roach    <span class="input-group-text">
132cf1b3d7SGreg Roach        <a data-id="<?= e($id) ?>" href="#" onclick="return webtrees.calendarWidget('caldiv<?= e($id) ?>', '<?= e($id) ?>');" title="<?= I18N::translate('Select a date') ?>">
1439b853a7SGreg Roach            <?= view('icons/calendar') ?>
1539b853a7SGreg Roach            <span class="sr-only">
1639b853a7SGreg Roach                <?= I18N::translate('Select a date') ?>
1739b853a7SGreg Roach            </span>
1839b853a7SGreg Roach        </a>
19dd6b2bfcSGreg Roach    </span>
20dd6b2bfcSGreg Roach</div>
21