xref: /webtrees/resources/views/edit/input-addon-calendar.phtml (revision 10e0649788c8d7d4974d81c048ca2b225df8f22e)
1d70512abSGreg Roach<?php
2d70512abSGreg Roach
3*10e06497SGreg Roachdeclare(strict_types=1);
4*10e06497SGreg Roach
5d70512abSGreg Roachuse Fisharebest\Webtrees\I18N;
6d70512abSGreg Roach
77c2c99faSGreg Roach/**
87c2c99faSGreg Roach * @var string $id
97c2c99faSGreg Roach */
107c2c99faSGreg Roach
11d70512abSGreg Roach?>
12dd6b2bfcSGreg Roach
13dd6b2bfcSGreg Roach<span class="input-group-text">
14d4786c66SGreg Roach    <a href="#" onclick="return webtrees.calendarWidget('caldiv<?= e($id) ?>', '<?= e($id) ?>');" title="<?= I18N::translate('Select a date') ?>">
1539b853a7SGreg Roach        <?= view('icons/calendar') ?>
16315eb316SGreg Roach        <span class="visually-hidden">
1739b853a7SGreg Roach            <?= I18N::translate('Select a date') ?>
1839b853a7SGreg Roach        </span>
1939b853a7SGreg Roach    </a>
20dd6b2bfcSGreg Roach</span>
21