xref: /webtrees/resources/views/help/link.phtml (revision 09482a558a7989d76059e7f9911605cf836b77ba)
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