@endif
{{-- Build-with-AI modal — vanilla Tailwind, same overlay/panel
pattern as /templates#type-modal so the visual language stays
consistent. Opened by #open-ai-modal in the sticky bar above.
POST submission lives in user-templates-create.js. --}}
{{ __('Templates / AI') }}
{{ __('Build with') }} AI
{{ __('Draft a high-converting WhatsApp template from a short brief.') }}
{{-- Empty-state when admin hasn't enabled any provider. The
form below stays hidden in that case so the operator
can't submit a request that 422s. --}}
No AI providers are enabled. Ask an admin to add a key in
/admin/ai-keys before this can run.