@if (Route::has('password.request')) <a class="text-sm text-gray-800 dark:text-gray-400 hover:text-blue-500 dark:hover:text-blue-500" href="{{ route('password.request') }}"> {{ __('Forgot your password?') }} </a> @endif
To get the inverse you can use the exclamation mark to reverse the value.
@if (! Route::has('password.request')) // your code here @endif
Leave a reply