reset.blade.php 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. @component('home.layouts.component', ['title' => 'بازنشانی رمز عبور'])
  2. @slot('style')
  3. @endslot
  4. @slot('content')
  5. <div class="auth-background">
  6. <div class="container h-100">
  7. <div class="row align-items-center h-100">
  8. <div class="col-lg-6 col-md-8 mx-auto">
  9. <div class="card">
  10. <div class="card-header"><strong>{{ __('بازنشانی رمز عبور') }}</strong></div>
  11. <div class="card-body mx-lg-5 px-lg-3">
  12. <form method="POST" action="{{ route('password.update') }}">
  13. @csrf
  14. <input type="hidden" name="token" value="{{ $token }}">
  15. <div class="form-group">
  16. <label for="email">{{ __('ایمیل') }}</label>
  17. <input id="email" type="email"
  18. class="form-control @error('email') is-invalid @enderror" name="email"
  19. value="{{ $email ?? old('email') }}" required autocomplete="email"
  20. autofocus>
  21. @error('email')
  22. <span class="invalid-feedback" role="alert">
  23. <strong>{{ $message }}</strong>
  24. </span>
  25. @enderror
  26. </div>
  27. <div class="form-group">
  28. <label for="password">{{ __('رمز عبور') }}</label>
  29. <input id="password" type="password"
  30. class="form-control @error('password') is-invalid @enderror"
  31. name="password" required autocomplete="new-password">
  32. @error('password')
  33. <span class="invalid-feedback" role="alert">
  34. <strong>{{ $message }}</strong>
  35. </span>
  36. @enderror
  37. </div>
  38. <div class="form-group">
  39. <label for="password-confirm">{{ __('تکرار رمز عبور') }}</label>
  40. <input id="password-confirm" type="password" class="form-control"
  41. name="password_confirmation" required autocomplete="new-password">
  42. </div>
  43. <div class="form-group mb-0">
  44. <button type="submit" class="btn btn-primary">
  45. {{ __('ثبت') }}
  46. </button>
  47. </div>
  48. </form>
  49. </div>
  50. </div>
  51. </div>
  52. </div>
  53. </div>
  54. </div>
  55. @endslot
  56. @slot('script')
  57. @endslot
  58. @endcomponent