{{-- Shown on the website while an admin previews a template from Settings → Appearance (never on the public demo, whose visitors use the style switcher). "Apply to site" saves it with its recommended look. --}} @php $previewKey = \App\Support\SiteTemplate::previewing(); @endphp @if($previewKey && ! config('app.demo'))
{{ ___('admin.template_previewing') }} {{ \App\Support\SiteTemplate::label($previewKey) }} @if(hasPermission('general_settings_update'))
@csrf
@endif {{ ___('admin.template_exit_preview') }}
@endif