@foreach ($email_templates as $key => $email_template)
@include("backend.layouts.partials.email-template-repeater", [
"active" => $loop->first,
"id" => $email_template->id,
"name" => $email_template->name ?? "",
"type" => $email_template->type ?? "",
"subject" => $email_template->subject ?? "",
"message" => $email_template->message ?? "",
"flags" => getEmailTemplateFormatFlagsByType($email_template->type ?? "")
])
@endforeach
{{-- note: developer use only. uncomment add new email type. --}}
{{-- @include("backend.layouts.partials.email-template-repeater", [
"is_new" => true
]) --}}