@php
$has_tabs_locale=false;
foreach ($tabs_locales as $index => $tab_locale){
if($tab_locale['contents'] != ''){
$has_tabs_locale=true;
break;
}
}
@endphp
@if ($has_tabs_locale)
@foreach ($tabs_locales as $index => $tab_locale)
{!! $tab_locale['contents'] !!}
@endforeach
@endif
{!! $contents_without_locales !!}
@if ($template_model && $template_model != '')