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