@extends('admin.layouts.layout')

@section('container_content')

<div class="login section-padding">
    <div class="container">
        <div class="row justify-content-center">
            <div class="col-lg-6">

                <form method="POST" action="{{ route('password.confirm') }}" class="border-item">
                    @csrf

                    <div class="form-head text-center">
                        <h3>{{ __('Confirm Password') }}</h3>
                    </div>

                    <div class="text-left">
                        <i>{{ __('Please confirm your password before continuing.') }}</i>
                    </div>
                    
                    <div class="form-group">
                        <label for="password" class="col-form-label text-md-right">{{ __('Password') }}</label>

                        <input id="password" type="password" class="form-control @error('password') is-invalid @enderror" name="password" required autocomplete="current-password">

                        @error('password')
                            <span class="invalid-feedback" role="alert">
                                <strong>{{ $message }}</strong>
                            </span>
                        @enderror
                    </div>

                    <button class="butn mt-3"><span>{{ __('Confirm Password') }}</span></button>
                    @if (Route::has('password.request'))
                        <a class="btn btn-link" href="{{ route('password.request') }}">
                            {{ __('Forgot Your Password?') }}
                        </a>
                    @endif
                </form>
            </div>
        </div>
    </div>
</div>
@endsection
