{{-- Messaging's contribution to the settings screen. Rendered into the `settings.tab.messaging` slot. Settings knows nothing about WhatsApp — remove this module and the tab disappears with it. Credentials are write-only here. The composer never hands the view a token or an auth string, only whether one exists: a settings page is exactly the screen somebody is standing behind, and a secret rendered into a value attribute is one screenshot away from being somebody else's. --}}

{{ __('messaging::messages.settings.heading') }}

{{ __('messaging::messages.settings.intro') }}
@foreach ($channelStatus as $channel => $state)
{{ __('messaging::messages.channels.'.$channel) }} {{ $state['live'] ? __('messaging::messages.settings.live') : __('messaging::messages.settings.log_only') }}
{{ __('messaging::messages.settings.driver') }}: {{ $state['driver'] }} · {{ trans_choice('messaging::messages.settings.active_templates', $state['templates'], ['count' => $state['templates']]) }}
@endforeach
@csrf @method('PUT')
{{-- The driver is the control that decides whether anything reaches a real handset, so it sits with the rest of the behaviour rather than being buried beside the credentials it uses. --}}

{{ __('messaging::messages.settings.twilio') }}

{{ __('messaging::messages.settings.twilio_hint') }}

{{-- Never pre-filled, on any redraw. --}}

{{ __('messaging::messages.settings.meta') }}

{{ __('messaging::messages.settings.meta_hint') }}