confirm.blade.php 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. @extends('common.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. {{ __('Please confirm your password before continuing.') }}
  12. <form name="f_password_confirm" id="fPasswordConfirm" method="post" action="{{ route('password.confirm') }}" accept-charset="UTF-8">
  13. @csrf
  14. <div class="row mb-3">
  15. <label for="password" class="col-md-4 col-form-label text-md-end">{{ __('Password') }}</label>
  16. <div class="col-md-6">
  17. <input id="password" type="password" class="form-control @error('password') is-invalid @enderror" name="password" required autocomplete="current-password">
  18. @error('password')
  19. <span class="invalid-feedback" role="alert">
  20. <strong>{{ $message }}</strong>
  21. </span>
  22. @enderror
  23. </div>
  24. </div>
  25. <div class="row mb-0">
  26. <div class="col-md-8 offset-md-4">
  27. <button type="submit" class="btn btn-primary">
  28. {{ __('Confirm Password') }}
  29. </button>
  30. @if (Route::has('password.request'))
  31. <a class="btn btn-link" href="{{ route('password.request') }}">
  32. {{ __('Forgot Your Password?') }}
  33. </a>
  34. @endif
  35. </div>
  36. </div>
  37. </form>
  38. <hr/>
  39. <footer>
  40. Copyright (C) @ {{ date('Y') }} {{ config('company_name') }} Corp. All Rights Reserved.
  41. </footer>
  42. </main>
  43. </div>
  44. @endsection
  45. @push('styles')
  46. <link rel="stylesheet" href="{{ asset('css/auth/passwords.css') }}"/>
  47. @endpush
  48. @push('scripts')
  49. <script src="{{ asset('/js/auth/passwords.js') }}" defer></script>
  50. @endpush