reset-password.blade.php 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <x-guest-layout>
  2. <x-auth-card>
  3. <x-slot name="logo">
  4. <a href="/">
  5. <x-application-logo class="w-20 h-20 fill-current text-burnt hover:text-yelmax" />
  6. </a>
  7. </x-slot>
  8. <!-- Validation Errors -->
  9. <x-auth-validation-errors class="mb-4" :errors="$errors" />
  10. <form method="POST" action="{{ route('password.update') }}">
  11. @csrf
  12. <!-- Password Reset Token -->
  13. <input type="hidden" name="token" value="{{ $request->route('token') }}">
  14. <!-- Email Address -->
  15. <div>
  16. <x-label for="email" :value="__('Email')" />
  17. <x-input id="email" class="block mt-1 w-full" type="email" name="email" :value="old('email', $request->email)" required autofocus />
  18. </div>
  19. <!-- Password -->
  20. <div class="mt-4">
  21. <x-label for="password" :value="__('Password')" />
  22. <x-input id="password" class="block mt-1 w-full" type="password" name="password" required />
  23. </div>
  24. <!-- Confirm Password -->
  25. <div class="mt-4">
  26. <x-label for="password_confirmation" :value="__('Confirm Password')" />
  27. <x-input id="password_confirmation" class="block mt-1 w-full"
  28. type="password"
  29. name="password_confirmation" required />
  30. </div>
  31. <div class="flex items-center justify-end mt-4">
  32. <x-button>
  33. {{ __('Reset Password') }}
  34. </x-button>
  35. </div>
  36. </form>
  37. </x-auth-card>
  38. </x-guest-layout>