@extends('EcomAuthViews::layouts.authentication.layout') @section('content') @php if($slug){ $route = route('account-auth' , ['type' => $slug]); }else{ $route = route('account-auth'); } @endphp
@csrf @if(request()->input('title') && request()->input('notification'))
{{ request()->input('notification') }}
@endif @foreach($types as $type) @switch($type) @case('phone') @component('EcomAuthViews::components.phone' , [ 'parent_class' => app()->getLocale() ,'phone_value' => isset($phone_value) ? $phone_value : '','country_code' => isset($country_code) ? $country_code : null ]) @endcomponent @break @case('email') @component('EcomGeneralViews::components.form.input', [ "parentClass" => "", "size" => "full", "type" => "text", "label" => ___('authentication.email') ]) @error('email') {{$message}} @enderror @endcomponent @break @default @break @endswitch @endforeach
@component('EcomGeneralViews::components.form.input', [ "parentClass" => "", "size" => "full", "type" => "submit", "label" => "" ]) @endcomponent @if (isset($errors) && $errors->has('g-recaptcha-response')) @lang('authentication.recaptcha_invalid') @endif @if($otp_primary)
@lang('authentication.verification_note')
@endif
@if(count($available_login_methods) > 0)
{{ ___('authentication.or_signin_with') }}
@endif
@foreach($available_login_methods as $method)
@php try { @endphp @include("EcomAuthViews::icons.".$method['icon']) @php }catch(\Throwable $th){} @endphp
{{ $method['label'] }}
@endforeach
@endsection @section('scripts') @endsection