@foreach ($contentItems as $index => $contentItem) @unless($loop->first)
@endunless
@if ($contentItems->count() > 1)
{{ $index + 1 }}

{{ $contentItem->subject }}

@endif
@if(!$contentItem->getModel() instanceof (\Spatie\Mailcoach\Mailcoach::getAutomationMailClass())) @endif @if ($contentItems->count() > 1) @endif
@csrf @livewire(config('mailcoach.content_editor'), [ 'model' => $contentItem, ])
@endforeach @if ($contentItems->count() > 1)
@endif
@if ($contentItems->count() <= 1) @endif
@if ($contentItems->count() <= 1) @endif @if(!$contentItem->getModel() instanceof (\Spatie\Mailcoach\Mailcoach::getAutomationMailClass())) @endif @isset($contentItem) @endisset
@if ($this->autosaveConflict) {{ __mc('Autosave disabled, the content was saved somewhere else. Refresh the page to get the latest content or save manually to override.') }} @else

{{ __mc("Autosaving every 20 seconds") }} - {{ __mc('Last saved at') }} @if ($this->lastSavedAt->isToday()) {{ $this->lastSavedAt->setTimezone(config('app.timezone'))->format('H:i:s') }} @else {{ $this->lastSavedAt->toMailcoachFormat() }} @endif

@endif
@foreach ($contentItems as $index => $contentItem)
@endforeach