@extends('EcomAuthViews::layouts.authentication.layout' , ['title' => 'Add '.($type == "email" ? "Email Address" : "Phone Number") ]) @section('content') @php $country_code = country()->code(); @endphp
@csrf @if($type == "phone") @component('EcomAuthViews::components.phone' , ['phone_value' => isset($phone_value) ? $phone_value : '' ]) @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
@endsection @section('scripts') @endsection