@extends('EcomAuthViews::layouts.authentication.layout')

@php
    $config=config('ecom-auth');
@endphp
@section('content')

    <form class="twa-form" action="{{route('account-login-verify')}}" method="POST">
        @csrf

        @component('EcomGeneralViews::components.form.input', [ "parentClass" => "", "size" => "full", "type" => "text", "label" =>"Please Verify your Email to continue" ])
        @endcomponent

        <input type="hidden" name="type" value="email">
        @component('EcomGeneralViews::components.form.input', [ "parentClass" => "", "size" => "full", "type" => "text", "label" => ___('authentication.email') ])
            <input name="email" required value="{{old('email')}}" placeholder="{{ ___('authentication.email') }}" />
            @error('email') <span> {{$message}}</span> @enderror
        @endcomponent
        @component('EcomGeneralViews::components.form.input', [ "parentClass" => "", "size" => "full", "type" => "submit", "label" => "" ])
            <input type="submit" value="{{ ___('authentication.continue') }}"/>
        @endcomponent
    </form>

@endsection
@section('scripts')
    <script>
        $(document).ready(function () {
            AUTHENTICATION_InitCodeGroup('code-input-group');
        });
    </script>
@endsection
