@if(isset($data['title'])) # {{ $data['title'] }} @endif @if(isset($data['body'])) {{ $data['body'] }} @endif @if(isset($data['actions'])) @foreach($data['actions'] as $action) @if($action['type'] === 'button') {{ $action['label'] }} @elseif($action['type'] === 'link') {{ $action['label'] }} @endif @endforeach

@endif @if(isset($data['footer'])) {{ $data['footer'] }} @endif