{{-- Left column: Post form + Translation form --}}
{{ $this->postForm }} {{ $this->form }} @if($this->translationRight === 'edit')
Save changes
@endif @php $seoAnalysis = $this->translationRecord->seo_analysis; @endphp @if($seoAnalysis) @php $problems = collect($seoAnalysis)->where('status', 'problem')->values(); $improvements = collect($seoAnalysis)->where('status', 'improvement')->values(); $goods = collect($seoAnalysis)->where('status', 'good')->values(); @endphp

SEO Analysis

@if($problems->isNotEmpty())
Problems ({{ $problems->count() }})
    @foreach($problems as $check)
  • {{ $check['label'] }}: {{ $check['message'] }}
  • @endforeach
@endif @if($improvements->isNotEmpty())
Improvements ({{ $improvements->count() }})
    @foreach($improvements as $check)
  • {{ $check['label'] }}: {{ $check['message'] }}
  • @endforeach
@endif @if($goods->isNotEmpty())
Good results ({{ $goods->count() }})
    @foreach($goods as $check)
  • {{ $check['label'] }}: {{ $check['message'] }}
  • @endforeach
@endif
@endif
{{-- Right column: Translations sidebar --}}

Translations