@php $userLanguages = !empty($generalSettings['site_language']) ? [$generalSettings['site_language'] => getLanguages($generalSettings['site_language'])] : []; if (!empty($generalSettings['user_languages']) and is_array($generalSettings['user_languages'])) { $userLanguages = getLanguages($generalSettings['user_languages']); } $localLanguage = []; foreach($userLanguages as $key => $userLanguage) { $localLanguage[localeToCountryCode($key)] = $userLanguage; } @endphp @if(!empty($localLanguage) and count($localLanguage) > 1)
{{ csrf_field() }} @if(!empty($previousUrl)) @endif
@else
@endif @push('scripts_bottom') @endpush