@php use App\Helpers\Helper;$configData = Helper::applClasses(); @endphp @extends('layouts/fullLayoutMaster') @section('title', __('locale.labels.subscribe')) @section('vendor-style') @endsection @section('page-style') {{-- Page Css files --}} @if(config('no-captcha.registration')) {!! RecaptchaV3::initJs() !!} @endif @endsection @section('content')
@if($configData['theme'] === 'dark') {{ config('app.name') }} @else {{ config('app.name') }} @endif

{{ __('locale.labels.subscribe') }}

{{ __('locale.labels.welcome_to') }} {{ $contact->name }}

@csrf @if(config('no-captcha.registration')) @error('g-recaptcha-response') {{ __('locale.labels.g-recaptcha-response') }} @enderror @endif
@foreach($contact->getFields as $field) @if($field->visible) @if ($field->tag != 'PHONE') @if($field->type == 'number')
required ? 'required' : '' }}> @error($field->tag)
{{ $message }}
@enderror
@elseif($field->type == 'textarea')
@error($field->tag)
{{ $message }}
@enderror
@elseif($field->type == 'date')
required ? 'required' : '' }}> @error($field->tag)
{{ $message }}
@enderror
@elseif($field->type == 'datetime')
required ? 'required' : '' }}> @error($field->tag)
{{ $message }}
@enderror
@else
required ? 'required' : '' }}> @error($field->tag)
{{ $message }}
@enderror
@endif @else
@error('PHONE')
{{ $message }}
@enderror

@endif @endif @endforeach
@if(config('no-captcha.registration'))
{!! RecaptchaV3::field('subscribe') !!}
@endif
@endsection @section('vendor-script') @endsection @section('page-script') @endsection @push('scripts') @endpush