made footer button form again

This commit is contained in:
Adrian Goldner
2019-02-07 13:09:49 +01:00
parent a8e1807a4d
commit c3d96f24ff
+8 -3
View File
@@ -1,13 +1,18 @@
<div class="row text-center"> <div class="row text-center">
<div class="col"> <div class="col">
<p class="text-muted m-0"> <div class="text-muted m-0">
This page took {{ number_format(microtime(true) - LARAVEL_START, 3) }} seconds to render. This page took {{ number_format(microtime(true) - LARAVEL_START, 3) }} seconds to render.
@auth @auth
<a class='btn btn-sm btn-outline-primary ml-2' href="{{ route('logout') }}">Logout</a> <form id="logout-form" class="d-inline-block" action="{{ route('logout') }}" method="POST">
@csrf
<button class='btn btn-sm btn-outline-primary ml-2' type='submit' id='submit'>
Logout
</button>
</form>
@endauth @endauth
</p> </div>
</div> </div>
</div> </div>
</div> </div>