@extends('auth.layouts.authentication') @section('content')
{{ translate('Site Icon')}}

{{ translate('Create an account')}}

@csrf
@if ($errors->has('name')) {{ $errors->first('name') }} @endif
{{-- @if (addon_is_activated('otp_system'))
@else
@if ($errors->has('email')) {{ $errors->first('email') }} @endif
@endif --}} @if (addon_is_activated('otp_system')) @if($phone) {{-- Show only the phone field if $phone exists --}}
{{-- --}}
@elseif($email) {{-- Show only the email field if $email exists --}} @else {{-- Show both fields with the toggle button if neither email nor phone is set --}}
{{-- Default to 'US' --}}
@endif @else {{-- If OTP system is disabled, show only the email field --}}
@if ($errors->has('email')) {{ $errors->first('email') }} @endif
@endif
{{ translate('Password must contain at least 6 digits') }}
@if ($errors->has('password')) {{ $errors->first('password') }} @endif
@if(get_setting('google_recaptcha') == 1 && get_setting('recaptcha_customer_register') == 1) @if ($errors->has('g-recaptcha-response')) {{ $errors->first('g-recaptcha-response') }} @endif @endif
@if(get_setting('google_login') == 1 || get_setting('facebook_login') == 1 || get_setting('twitter_login') == 1 || get_setting('apple_login') == 1)
{{ translate('Or Join With')}}
@endif

{{ translate('Already have an account?')}} {{ translate('Log In')}}

{{ translate('Back to Previous Page')}}
@endsection @section('script') @if(get_setting('google_recaptcha') == 1 && get_setting('recaptcha_customer_register') == 1) @endif @endsection