@extends('layouts.dashboard') @section('content') @php /** * Admin → Email templates → Edit, as a routed dashboard page (own URL, full chrome) * that replaced the #templateModal. The body can be authored two ways: a "Visual" * rich-text tab (Quill — for admins who do not write HTML) and an "HTML" source tab * (with the email-safe snippet toolbar). The hidden

{{ t_raw('admin.emailtemplates.fields_inline_label') }}

@foreach ($tokens as $f) @endforeach
@php /* The inbox line, not the message: what the recipient reads in their list before opening anything. Subject then snippet, in that order, because that is the order Gmail, Outlook and Apple Mail print them. */ @endphp
{{ t_raw('admin.emailtemplates.preview_subject_label') }}:
@php /* Two independent controls, so two tablists. Both reuse the .qm-tabs / .qm-tab component the Visual|HTML switch above already uses — the pane itself is the only thing that needed a rule, and it is a width, not a look. The 375px setting is the one that earns its place: the shell's card is width="600" with max-width:100%, so it is only below 600 that the reflow can be seen at all. */ @endphp
{{ t_raw('common.cancel') }}
@php /* /.qm-d2 */ @endphp @endsection