@php $termsSetting = $settings->where('name', \App\Models\Setting::$registrationBonusTermsSettingsName)->first(); $termsValue = (!empty($termsSetting) and !empty($termsSetting->translate($selectedLocale))) ? $termsSetting->translate($selectedLocale)->value : null; if (!empty($termsValue)) { $termsValue = json_decode($termsValue, true); } @endphp
{{ csrf_field() }}
@if(!empty(getGeneralSettings('content_translate')))
@error('locale')
{{ $message }}
@enderror
@else @endif
@if(!empty($termsValue) and !empty($termsValue['items'])) @if(!empty($termsValue) and is_array($termsValue['items'])) @foreach($termsValue['items'] as $key => $item)
@endforeach @endif @endif
@push('scripts_bottom') @endpush