@extends('layouts.admin') @section('title', __('admin.edit_template')) @section('breadcrumb', __('admin.templates')) @section('content')
@csrf @method('put')

{{ __($events[$template->event] ?? $template->event) }}

{{ $template->event }}
{{ $template->is_active ? __('admin.active') : __('admin.inactive') }}
@foreach ($allLanguages as $language)

{{ $language->name }} {{ $language->code }}

@endforeach @if ($template->event === 'customer.welcome')

{{ __('admin.placeholders') }} {name} {email} {login} {password_link} {store}

@else

{{ __('admin.placeholders') }} {customer} {order} {status} {total} {store} {url}

@endif

{{ __('admin.send_via') }}

@if ($template->event === 'customer.welcome')

{{ __('admin.customer_welcome_email_only') }}

@else
@foreach ($channels as $channel) @endforeach
@endif
{{ __('admin.cancel') }}
@endsection