login.blade.php 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <x-guest-layout>
  2. <x-jet-authentication-card>
  3. <x-slot name="logo">
  4. <x-jet-authentication-card-logo />
  5. </x-slot>
  6. <x-jet-validation-errors class="mb-4" />
  7. @if (session('status'))
  8. <div class="mb-4 font-medium text-sm text-green-600">
  9. {{ session('status') }}
  10. </div>
  11. @endif
  12. <form method="POST" action="{{ route('login') }}">
  13. @csrf
  14. <div>
  15. <x-jet-label for="email" value="{{ __('Email') }}" />
  16. <x-jet-input id="email" class="block mt-1 w-full" type="email" name="email" :value="old('email')" required autofocus />
  17. </div>
  18. <div class="mt-4">
  19. <x-jet-label for="password" value="{{ __('Password') }}" />
  20. <x-jet-input id="password" class="block mt-1 w-full" type="password" name="password" required autocomplete="current-password" />
  21. </div>
  22. <div class="block mt-4">
  23. <label for="remember_me" class="flex items-center">
  24. <input id="remember_me" type="checkbox" class="form-checkbox" name="remember">
  25. <span class="ml-2 text-sm text-gray-600">{{ __('Remember me') }}</span>
  26. </label>
  27. </div>
  28. <div class="flex items-center justify-end mt-4">
  29. @if (Route::has('password.request'))
  30. <a class="underline text-sm text-gray-600 hover:text-gray-900" href="{{ route('password.request') }}">
  31. {{ __('Forgot your password?') }}
  32. </a>
  33. @endif
  34. <x-jet-button class="ml-4">
  35. {{ __('Login') }}
  36. </x-jet-button>
  37. </div>
  38. </form>
  39. </x-jet-authentication-card>
  40. </x-guest-layout>