{{-- Tab 3: Email Content --}} @php $dripId = isset($autoresponder) ? $autoresponder->id : null; $aiBase = isCommercialLicense("Commercial") && getApplicationSettings('mumara_ai_enabled') == 'on'; $aiEnabled = $aiBase && routeAccess('ai_assistants'); $aiDripChatEnabled = $aiBase && routeAccess('ai_drip_chat'); @endphp {{-- Card: Email Subject & Pre-header --}}

{{trans('drip.campaign.form.label.email_subject')}} & @lang('broadcasts.form.label.enable_preheader')

{{-- Subject line --}}
0/70 @if(in_array('Emojis', whmcsAddOns())) @endif
@if($aiEnabled) @endif
{{-- Pre-header --}}
{{-- Card: HTML Body --}}

{{trans('drip.campaign.form.label.html_body')}} *

@if($dripId && $aiDripChatEnabled) {{ trans('broadcasts.button.ai_builder') }} @endif
{{-- TinyMCE Editor --}}
{{-- Action strip below editor --}}
{{-- Card: Email Optimization --}}

{{ trans('broadcasts.settings.card.email_optimization') }}

{{-- Card: Text Body --}}

{{trans('drip.campaign.form.label.text_body')}} * {!! popover('drip.campaign.form.label.text_body_description','common.description') !!}

@if($aiEnabled) @endif
{{-- Card: Attachments --}} @php $ae = get_allowed_extensions(); $max_file = file_upload_max_size(); $max_file_MB = round(($max_file / 1024) / 1024, 1); @endphp

{{trans('broadcasts.form.label.attach_file')}} {!! popover('broadcasts.form.label.attach_file_help','common.description') !!}

{!! trans('broadcasts.form.dropzone.text') !!}
{{-- File info pills --}}
{{ trans('broadcasts.form.label.max_size') }}{{ $max_file_MB }}MB
@if(!empty($ae))
{{ trans('broadcasts.form.label.allowed') }}.{{ strtolower(implode(', .', $ae)) }}
@endif
{{-- Error message --}} {{-- Uploaded files list --}} @if (!isset($files_count) || $files_count == 0)
  • {{trans('common.message.no_files_uploaded')}}
@else
    @for($i = 0; $i < $files_count; $i++)
  • {{ $attached_files[$i]['basename'] }} {{ trans('common.label.uploaded') }}
  • @endfor
@endif