xref: /webtrees/resources/views/modules/login_block/sign-out.phtml (revision 56f9a9c1fdf345d30ac6cd9caefe7542153b9246)
1<?php
2use Fisharebest\Webtrees\Http\RequestHandlers\Logout;
3use Fisharebest\Webtrees\I18N;
4?>
5
6<p>
7<?= I18N::translate('You are signed in as %s.', e($user->userName())) ?>
8</p>
9
10<form method="post" action="<?= e(route(Logout::class)) ?>">
11    <?= csrf_field() ?>
12
13    <button type="submit" class="btn btn-primary">
14        <?= /* I18N: A button label. */ I18N::translate('sign out') ?>
15    </button>
16</form>
17