confirm.blade.php 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. @extends('auth.layout')
  2. @section('content')
  3. <div id="passwordConfirm" class="container-fluid">
  4. <header>
  5. <a href="/" type="text/html" rel="noreferrer" referrerpolicy="no-referrer">
  6. {{ strtoupper(config('app.name')) }}
  7. </a>
  8. </header>
  9. <main>
  10. <h5>{{ __('Confirm Password') }}</h5>
  11. <p>{{ __('Please confirm your password before continuing.') }}</p>
  12. <form name="f_password_confirm" id="fPasswordConfirm" method="post" action="{{ route('password.confirm') }}" accept-charset="UTF-8">
  13. @csrf
  14. <div class="mb-3">
  15. <label for="password" class="form-label">{{ __('Password') }}</label>
  16. <input id="password" type="password" class="form-control @error('password') is-invalid @enderror" name="password" required autocomplete="current-password">
  17. @error('password')
  18. <span class="invalid-feedback" role="alert">
  19. <strong>{{ $message }}</strong>
  20. </span>
  21. @enderror
  22. </div>
  23. <div class="mb-3">
  24. <button type="submit" class="btn btn-success w-100">{{ __('Confirm Password') }}</button>
  25. </div>
  26. <div class="mb-3 text-center">
  27. @if (Route::has('password.request'))
  28. <a class="btn btn-link" href="{{ route('password.request') }}">
  29. {{ __('Forgot Your Password?') }}
  30. </a>
  31. @endif
  32. </div>
  33. </form>
  34. <hr/>
  35. <footer>
  36. &copy; 2023~{{ date('Y') }} {{ config('company_name') }}. All rights reserved.
  37. </footer>
  38. </main>
  39. </div>
  40. @endsection
  41. @push('styles')
  42. <link rel="stylesheet" href="{{ asset('css/auth/passwords.css') }}"/>
  43. @endpush
  44. @push('scripts')
  45. <script src="{{ asset('/js/auth/passwords.js') }}" defer></script>
  46. @endpush