reset.blade.php 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. @extends('layouts.app')
  2. @section('content')
  3. <div class="container">
  4. <div class="row justify-content-center">
  5. <div class="col-md-8">
  6. <div class="card">
  7. <div class="card-header">{{ __('Reset Password') }}</div>
  8. <div class="card-body">
  9. <form method="POST" action="{{ route('password.update') }}">
  10. @csrf
  11. <input type="hidden" name="token" value="{{ $token }}">
  12. <div class="form-group row">
  13. <label for="email" class="col-md-4 col-form-label text-md-right">{{ __('E-Mail Address') }}</label>
  14. <div class="col-md-6">
  15. <input id="email" type="email" class="form-control @error('email') is-invalid @enderror" name="email" value="{{ $email ?? old('email') }}" required autocomplete="email" autofocus>
  16. @error('email')
  17. <span class="invalid-feedback" role="alert">
  18. <strong>{{ $message }}</strong>
  19. </span>
  20. @enderror
  21. </div>
  22. </div>
  23. <div class="form-group row">
  24. <label for="password" class="col-md-4 col-form-label text-md-right">{{ __('Password') }}</label>
  25. <div class="col-md-6">
  26. <input id="password" type="password" class="form-control @error('password') is-invalid @enderror" name="password" required autocomplete="new-password">
  27. @error('password')
  28. <span class="invalid-feedback" role="alert">
  29. <strong>{{ $message }}</strong>
  30. </span>
  31. @enderror
  32. </div>
  33. </div>
  34. <div class="form-group row">
  35. <label for="password-confirm" class="col-md-4 col-form-label text-md-right">{{ __('Confirm Password') }}</label>
  36. <div class="col-md-6">
  37. <input id="password-confirm" type="password" class="form-control" name="password_confirmation" required autocomplete="new-password">
  38. </div>
  39. </div>
  40. <div class="form-group row mb-0">
  41. <div class="col-md-6 offset-md-4">
  42. <button type="submit" class="btn btn-primary">
  43. {{ __('Reset Password') }}
  44. </button>
  45. </div>
  46. </div>
  47. </form>
  48. </div>
  49. </div>
  50. </div>
  51. </div>
  52. </div>
  53. @endsection