register.blade.php 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. <form method="POST" action="{{ route('register') }}">
  8. @csrf
  9. <div>
  10. <x-jet-label for="name" value="{{ __('Name') }}" />
  11. <x-jet-input id="name" class="block mt-1 w-full" type="text" name="name" :value="old('name')" required autofocus autocomplete="name" />
  12. </div>
  13. <div class="mt-4">
  14. <x-jet-label for="email" value="{{ __('Email') }}" />
  15. <x-jet-input id="email" class="block mt-1 w-full" type="email" name="email" :value="old('email')" required />
  16. </div>
  17. <div class="mt-4">
  18. <x-jet-label for="password" value="{{ __('Password') }}" />
  19. <x-jet-input id="password" class="block mt-1 w-full" type="password" name="password" required autocomplete="new-password" />
  20. </div>
  21. <div class="mt-4">
  22. <x-jet-label for="password_confirmation" value="{{ __('Confirm Password') }}" />
  23. <x-jet-input id="password_confirmation" class="block mt-1 w-full" type="password" name="password_confirmation" required autocomplete="new-password" />
  24. </div>
  25. <div class="flex items-center justify-end mt-4">
  26. <a class="underline text-sm text-gray-600 hover:text-gray-900" href="{{ route('login') }}">
  27. {{ __('Already registered?') }}
  28. </a>
  29. <x-jet-button class="ml-4">
  30. {{ __('Register') }}
  31. </x-jet-button>
  32. </div>
  33. </form>
  34. </x-jet-authentication-card>
  35. </x-guest-layout>