confirm.blade.php 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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">{{ __('Confirm Password') }}</div>
  8. <div class="card-body">
  9. {{ __('Please confirm your password before continuing.') }}
  10. <form method="POST" action="{{ route('password.confirm') }}">
  11. @csrf
  12. <div class="form-group row">
  13. <label for="password" class="col-md-4 col-form-label text-md-right">{{ __('Password') }}</label>
  14. <div class="col-md-6">
  15. <input id="password" type="password" class="form-control @error('password') is-invalid @enderror" name="password" required autocomplete="current-password">
  16. @error('password')
  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 mb-0">
  24. <div class="col-md-8 offset-md-4">
  25. <button type="submit" class="btn btn-primary">
  26. {{ __('Confirm Password') }}
  27. </button>
  28. @if (Route::has('password.request'))
  29. <a class="btn btn-link" href="{{ route('password.request') }}">
  30. {{ __('Forgot Your Password?') }}
  31. </a>
  32. @endif
  33. </div>
  34. </div>
  35. </form>
  36. </div>
  37. </div>
  38. </div>
  39. </div>
  40. </div>
  41. @endsection