@csrf @method('PUT') @if ($automation->interval === '1 minute') {{ __mc('An interval of 1 minute can generate a lot of queued jobs for subscribers pending in an action. Make sure you really need this granularity.') }} @endif

{{ __mc('This triggers the automation for all subscribers in :description, regardless of the trigger that is set.', ['description' => $automation->emailList->name . ' (' . $automation->getSegment()->description() . ')']) }}

@if ($automation->repeat_enabled)

{{ __mc('Repeating is enabled for this automation which will result in subscribers already in the automation to go through it again.') }}

@if ($automation->repeat_only_after_halt)

{{ __mc('Only halted subscribers will be repeated.') }}

@endif @endif
{{ __mc('Trigger') }}
@if ($error) {{ $error }} @endif @if ($automation->actions->filter(fn ($action) => $action->action::class === \Spatie\Mailcoach\Domain\Automation\Support\Actions\HaltAction::class)->count() === 0) {{ __mc('This automation will keep running so any actions added later will be run on existing subscribers. If this automation has a desired end, we recommend adding a Halt action.') }} @endif
@if ($automation->status === \Spatie\Mailcoach\Domain\Automation\Enums\AutomationStatus::Started) @else @endif