[WIP] Order process with interactive methods

This commit is contained in:
Ludovic CANDELLIER
2022-07-03 23:36:33 +02:00
parent 06cfb92757
commit 573e98a2ce
6 changed files with 30 additions and 15 deletions

View File

@@ -16,9 +16,14 @@
</a>
</li>
<li class="dropdown-item">
<a href="{{ route('Shop.logout') }}" title="Vous déconnectez" rel="nofollow">
<span>Se déconnecter</span>
<a href="#" onclick="event.preventDefault(); document.getElementById('logout-form').submit();">
Déconnexion
</a>
<form id="logout-form" action="{{ route('Shop.logout') }}" method="POST" style="display: none;">
@csrf
</form>
</li>
@else
<li class="dropdown-item">