reset.blade.php 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. @extends('layouts.app')
  2. @section('content')
  3. <div class="container mt-4">
  4. <div class="row justify-content-center">
  5. <div class="col-lg-5">
  6. <div class="card">
  7. <div class="card-header bg-white p-3 text-center font-weight-bold">{{ __('Reset Password') }}</div>
  8. <div class="card-body">
  9. <form method="POST" action="{{ route('password.request') }}">
  10. @csrf
  11. <input type="hidden" name="token" value="{{ $token }}">
  12. <div class="form-group row">
  13. <div class="col-md-12">
  14. <input id="email" type="email" class="form-control{{ $errors->has('email') ? ' is-invalid' : '' }}" name="email" value="{{ $email ?? old('email') }}" placeholder="{{ __('E-Mail Address') }}" required autofocus>
  15. @if ($errors->has('email'))
  16. <span class="invalid-feedback">
  17. <strong>{{ $errors->first('email') }}</strong>
  18. </span>
  19. @endif
  20. </div>
  21. </div>
  22. <hr>
  23. <div class="form-group row">
  24. <div class="col-md-12">
  25. <input id="password" type="password" class="form-control{{ $errors->has('password') ? ' is-invalid' : '' }}" name="password" placeholder="{{ __('Password') }}" required>
  26. @if ($errors->has('password'))
  27. <span class="invalid-feedback">
  28. <strong>{{ $errors->first('password') }}</strong>
  29. </span>
  30. @endif
  31. </div>
  32. </div>
  33. <div class="form-group row">
  34. <div class="col-md-12">
  35. <input id="password-confirm" type="password" class="form-control{{ $errors->has('password_confirmation') ? ' is-invalid' : '' }}" name="password_confirmation" placeholder="{{ __('Confirm Password') }}" required>
  36. @if ($errors->has('password_confirmation'))
  37. <span class="invalid-feedback">
  38. <strong>{{ $errors->first('password_confirmation') }}</strong>
  39. </span>
  40. @endif
  41. </div>
  42. </div>
  43. <div class="form-group row mb-0">
  44. <div class="col-md-12">
  45. <button type="submit" class="btn btn-primary btn-block py-0 font-weight-bold">
  46. {{ __('Reset Password') }}
  47. </button>
  48. </div>
  49. </div>
  50. </form>
  51. </div>
  52. </div>
  53. </div>
  54. </div>
  55. </div>
  56. @endsection