xref: /webtrees/resources/views/help/link.phtml (revision 5d7bcd6773d7da8e07d3d8d49e04e87086d93cd5)
1<?php
2
3use Fisharebest\Webtrees\Http\RequestHandlers\HelpText;
4use Fisharebest\Webtrees\I18N;
5
6/**
7 * @var string $topic
8 */
9
10?>
11<a href="#" data-bs-toggle="modal" data-bs-backdrop="static" data-bs-target="#wt-ajax-modal" data-wt-href="<?= e(route(HelpText::class, ['topic' => $topic])) ?>" title="<?= I18N::translate('Help') ?>">
12    <?= view('icons/help') ?>
13    <span class="visually-hidden"><?= I18N::translate('Help') ?></span>
14</a>
15