diff options
Diffstat (limited to 'resources')
-rw-r--r-- | resources/views/inc/navbar.blade.php | 2 | ||||
-rw-r--r-- | resources/views/pages/login.blade.php | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/resources/views/inc/navbar.blade.php b/resources/views/inc/navbar.blade.php index 01b73f1..aa28eae 100644 --- a/resources/views/inc/navbar.blade.php +++ b/resources/views/inc/navbar.blade.php @@ -25,7 +25,7 @@ <a class="dropdown-item" href="#">Reservations</a> </div> </div> - <a href="#" class="nav-item nav-link">Logout</a> + <a href="{{ route('logout') }}" class="nav-item nav-link">Logout</a> @else <a href="{{ route('login') }}" class="nav-item nav-link {{ request()->routeIs('login') ? 'active' : '' }}">Login</a> @endif diff --git a/resources/views/pages/login.blade.php b/resources/views/pages/login.blade.php index b323872..473c23f 100644 --- a/resources/views/pages/login.blade.php +++ b/resources/views/pages/login.blade.php @@ -6,6 +6,9 @@ {{ session('status') }} </div> @endif +@error('failed') + <div class="alert alert-danger mt-2">{{ $message }}</div> +@enderror <form action="{{ route('login') }}" method="POST"> @csrf <div class="form-group"> |