login.blade.php 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. <a class="underline text-sm text-gray-600 hover:text-gray-900" href="{{ route('register') }}">
  30. {{ __('Register') }}
  31. </a>
  32. <x-jet-button class="ml-4">
  33. {{ __('Login') }}
  34. </x-jet-button>
  35. </div>
  36. </form>
  37. </x-jet-authentication-card>
  38. </x-guest-layout>