@extends('business::layouts.app') @section('title', $template->name . ' — BizWap') @section('content')
{{ $template->category }} · {{ $template->language }} · Created {{ $template->created_at->format('d M Y') }}
"{{ $template->meta_error['message'] ?? 'Unknown error' }}"
@if(!empty($template->meta_error['fbtrace_id']))Trace ID: {{ $template->meta_error['fbtrace_id'] }}
Contact support if this persists.
Header
{{ $template->header_text }}
Body
{{ $template->body }}
Footer
{{ $template->footer }}
Buttons
@foreach($template->buttons as $button) @if($button['type'] === 'QUICK_REPLY') @else @endif {{ $button['text'] }} @if(!empty($button['url'])) ({{ $button['url'] }}) @endif @endforeachHeader:
@foreach($template->header_examples as $i => $ex) {{{{ $i + 1 }}}} = {{ $ex }} @endforeach @endif @if(!empty($template->body_examples))Body:
@foreach($template->body_examples as $i => $ex) {{{{ $i + 1 }}}} = {{ $ex }} @endforeach @endifCheck if Meta has approved or updated your template status.