{{ $template->name }}

{{ $template->description }}

{{ $template->category->label() }}
Usos
{{ $template->usage_count }}
Cliente
{{ $template->cliente->nome ?? 'Global' }}
Criado em
{{ $template->created_at->format('d/m/Y') }}
Estrutura do Template
@if(!empty($template->structure['retranca']))
Retranca:
{{ $template->structure['retranca'] }}
@endif @if(!empty($template->structure['content']))
Conteúdo:
{{ Str::limit($template->structure['content'], 200) }}
@endif @if(!empty($template->structure['hashtags']))
Hashtags:
{{ $template->structure['hashtags'] }}
@endif
Tipo de Conteúdo: @php $tipo = App\Enums\TipoConteudoPost::tryFrom($template->structure['tipo_conteudo']); @endphp
@if($tipo) {{ $tipo->label() }} @else {{ $template->structure['tipo_conteudo'] }} @endif
Plataformas:
@foreach($template->structure['platforms'] ?? [] as $platform) @php $platformEnum = App\Enums\PlataformaRedeSocial::tryFrom($platform); @endphp @if($platformEnum)
{{ $platformEnum->label() }}
@endif @endforeach