@extends('web.layouts.container')
@section('css')
    <link rel="stylesheet" href="{{ asset('assets/web/css/lib/toastr.css') }}" />
@endsection
@section('content')
    <section class="register-pg">
        <div class="container">
            <div class="inner">
                <div class="row">
                    <div class="col-lg-6">
                        <div class="form-wrapper code-form center-vr">
                            <form method="post" action="{{route('user.codeVerification')}}" class="account_verification_form">
                                <div class="heading text-center mb-4">
                                    <h4 class="h4">{{__('members.restoring_code')}}</h4>
                                    <p class="another-register mb-2">{{__('members.enter_code')}}</p>
                                    <h6 class="phone-num">{{session('forgetPasswordEmail')}}</h6>
                                </div>
                                <div class="col-md-8 m-auto">
                                    <div class="form-group code-form-group mt-0">
                                        <div class="row mb-4">
                                            <input type="text" name="code[]" maxlength="1" class="form-control code-input">
                                            <input type="text" name="code[]" maxlength="1" class="form-control code-input">
                                            <input type="text" name="code[]" maxlength="1" class="form-control code-input">
                                            <input type="text" name="code[]" maxlength="1" class="form-control code-input">
                                        </div>
                                    </div>
                                </div>
                                <button class="submit-btn mt-4 account_verification_button">{{__('main.send')}}</button>
                            </form>
                        </div>
                    </div>
                    <div class="col-lg-6">
                        <img src="{{asset('assets/web/images/login.svg')}}" alt="" class="register-img center-vr">
                    </div>
                </div>
            </div>

        </div>
    </section>

@endsection

@section('inner_js')
    <script src="{{ asset('assets/web/js/lib/toastr.min.js') }}"></script>
    <script>
        let currentLocal = "{{getCurrentLocale()}}";
    </script>

    <script src="{{ asset('assets/web/js/users.code_verification_form.js') }}"></script>
@endsection
