@extends('web.layouts.layout')
@section('content')


    <main>

        <!-- ---------- form_pg ----------- -->
        <section class="form_pg">
            <div class="container">
                <div class="row justify-content-center">
                    <div class="col-lg-7">
                        <h4 class="line_title"> {{__('web.verify')}} </h4>
                        <div class="form_card">
                            <form method="post" action="{{route('web.code.check')}}" onsubmit="formAction(this)">
                                @CSRF
                                <div class="form">
                                    <div class="form-group">
                                        <h6> {{__('web.enter_code')}} </h6>
                                        <input type="hidden" name="phone" value="{{$phone}}">
                                        <input type="number" name="code" class="form-control mt-3" placeholder="- - - -" value="">
                                    </div>
                                    <p class="wrong_code"> <a href="{{route('web.code').'?phone='.$phone}}" class="ms-4"> <i class="fal fa-rotate me-1"></i> {{__('web.resend_code')}} </a> </p>
                                    <button type="submit" class="butn mt-5"> <span> <i class="fal fa-paper-plane me-1"></i> {{__('web.send')}} </span> </button>
                                    <!-- <a href="#0" class="butn mt-5" data-bs-toggle="modal" data-bs-target="#code_1"> <span> <i class="fal fa-paper-plane me-1"></i> send </span> </a> -->
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </section>


        <!-- <div class="img_pattern1">
        </div> -->
    </main>

@stop
