@extends('EcomAuthViews::layouts.authentication.layout') @section('content') @php // $input_errors = session('res_bag'); @endphp
@csrf @if(request()->input('title') && request()->input('notification'))
{{ request()->input('notification') }}
@endif @if($type == "phone") {{-- @component('EcomAuthViews::components.phone' , ['phone_value' => isset($phone_value) ? $phone_value : '' ] )--}} {{-- @component('EcomGeneralViews::components.form.input', [ "parentClass" => "", "size" => "full", "type" => "text", "label" => ___('authentication.phone_number') ])--}} {{-- --}} {{-- --}} {{-- @error('phone') {{$message}} @enderror --}} {{-- @endcomponent--}} @component('EcomAuthViews::components.phone' , [ 'parent_class' => app()->getLocale() ,'phone_value' => isset($phone_value) ? $phone_value : '','country_code' => isset($country_code) ? $country_code : null ]) @endcomponent @elseif($type == "email") @component('EcomGeneralViews::components.form.input', [ "parentClass" => "", "size" => "full", "type" => "text", "label" => ___('authentication.email') ]) @error('email') {{$message}} @enderror @endcomponent @endif @component('EcomGeneralViews::components.form.input', [ "parentClass" => "", "size" => "full", "type" => "submit", "label" => "" ]) @endcomponent
@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