xref: /webtrees/resources/views/edit/input-addon-calendar.phtml (revision c8d78f19d0bdf4c0ec4728253bd37250d2e6cec4)
1<?php
2
3use Fisharebest\Webtrees\I18N;
4
5/**
6 * @var string $id
7 */
8
9?>
10
11<span class="input-group-text">
12    <a href="#" onclick="return webtrees.calendarWidget('caldiv<?= e($id) ?>', '<?= e($id) ?>');" title="<?= I18N::translate('Select a date') ?>">
13        <?= view('icons/calendar') ?>
14        <span class="visually-hidden">
15            <?= I18N::translate('Select a date') ?>
16        </span>
17    </a>
18</span>
19