@php if(!empty($translation->include)){ $title = __("Included"); } if(!empty($translation->exclude)){ $title = __("Excluded"); } if(!empty($translation->exclude) and !empty($translation->include)){ $title = __("Included/Excluded"); } @endphp @if(!empty($title))

{{ $title }}

@if($translation->include)
@foreach($translation->include as $item)
{{$item['title']}}
@endforeach
@endif @if($translation->exclude)
@foreach($translation->exclude as $item)
{{$item['title']}}
@endforeach
@endif
@endif