{{ $templateId ? __('Edit Template') : __('Create Template') }}

{{ __('Drag, drop, and configure blocks to design your template. Saved templates appear in Compose and Reply.') }}

{{ __('Back to library') }}
{{-- The campaigns EmailBuilder is the shared block editor. When mounted with a templateId it loads the existing blocks; without one it starts fresh. The component's own saveAsTemplate() handles persistence to the email_templates table — no extra wiring needed. --}}