Update idelanding.blade.php

This commit is contained in:
Thomas G 2022-08-28 12:50:14 +10:00
parent 4def3e31b0
commit 2b8dd92ca3
1 changed files with 4 additions and 1 deletions

View File

@ -26,7 +26,10 @@
-->
</span>
@else
<span id="header-or">Logged in as {{ Auth::user()->name }}</span>
<form id="logout-form" action="{{ route('logout') }}" method="POST" style="display:none">
@csrf
</form>
<span id="header-or">Logged in as {{ Auth::user()->name }} | <a href="{{ route('logout') }}" onclick="event.preventDefault(); document.getElementById('logout-form').submit();">Logout</a></span>
@endguest
</div>
<!-- This is only after the login stuff because IE7 demands floated elements be before non-floated -->