update-password-form.blade.php 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <x-jet-form-section submit="updatePassword">
  2. <x-slot name="title">
  3. {{ __('Update Password') }}
  4. </x-slot>
  5. <x-slot name="description">
  6. {{ __('Ensure your account is using a long, random password to stay secure.') }}
  7. </x-slot>
  8. <x-slot name="form">
  9. <div class="col-span-6 sm:col-span-4">
  10. <x-jet-label for="current_password" value="{{ __('Current Password') }}" />
  11. <x-jet-input id="current_password" type="password" class="mt-1 block w-full" wire:model.defer="state.current_password" autocomplete="current-password" />
  12. <x-jet-input-error for="current_password" class="mt-2" />
  13. </div>
  14. <div class="col-span-6 sm:col-span-4">
  15. <x-jet-label for="password" value="{{ __('New Password') }}" />
  16. <x-jet-input id="password" type="password" class="mt-1 block w-full" wire:model.defer="state.password" autocomplete="new-password" />
  17. <x-jet-input-error for="password" class="mt-2" />
  18. </div>
  19. <div class="col-span-6 sm:col-span-4">
  20. <x-jet-label for="password_confirmation" value="{{ __('Confirm Password') }}" />
  21. <x-jet-input id="password_confirmation" type="password" class="mt-1 block w-full" wire:model.defer="state.password_confirmation" autocomplete="new-password" />
  22. <x-jet-input-error for="password_confirmation" class="mt-2" />
  23. </div>
  24. </x-slot>
  25. <x-slot name="actions">
  26. <x-jet-action-message class="mr-3" on="saved">
  27. {{ __('Saved.') }}
  28. </x-jet-action-message>
  29. <x-jet-button>
  30. {{ __('Save') }}
  31. </x-jet-button>
  32. </x-slot>
  33. </x-jet-form-section>