email.blade.php 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. @if (session('status'))
  10. <div class="alert alert-success" role="alert">
  11. {{ session('status') }}
  12. </div>
  13. @endif
  14. <form method="POST" action="{{ route('password.email') }}">
  15. @csrf
  16. <div class="form-group row">
  17. <label for="email" class="col-md-4 col-form-label text-md-right">{{ __('E-Mail Address') }}</label>
  18. <div class="col-md-6">
  19. <input id="email" type="email" class="form-control{{ $errors->has('email') ? ' is-invalid' : '' }}" name="email" value="{{ old('email') }}" required>
  20. @if ($errors->has('email'))
  21. <span class="invalid-feedback" role="alert">
  22. <strong>{{ $errors->first('email') }}</strong>
  23. </span>
  24. @endif
  25. </div>
  26. </div>
  27. <div class="form-group row mb-0">
  28. <div class="col-md-6 offset-md-4">
  29. <button type="submit" class="btn btn-primary">
  30. {{ __('Send Password Reset Link') }}
  31. </button>
  32. </div>
  33. </div>
  34. </form>
  35. </div>
  36. </div>
  37. </div>
  38. </div>
  39. </div>
  40. @endsection