{{-- Twilio connect form — shared between the inline single-engine empty state (_twilio_section) and the multi-engine "Add device → Twilio" modal (index). Posts to /connect/wa-store/twilio. Expects $twilioAdminDefaults. --}} @php $defaults = is_array($twilioAdminDefaults ?? null) ? $twilioAdminDefaults : ['account_sid' => '', 'whatsapp_number' => '']; $hasAdminDefaults = $defaults['account_sid'] !== '' && $defaults['whatsapp_number'] !== ''; @endphp
{{ __('Paste your Twilio Account SID, Auth Token, and the WhatsApp From number Twilio assigned. Use the Sandbox while testing, then switch to a paid Twilio number when you go live.') }}
@if ($hasAdminDefaults)