@extends('maileclipse::layout.app') @section('title', 'View Mailable') @section('content')
Details
@if ( empty($resource['data']->subject) ) @else @endif @if ( !empty($resource['data']->locale) ) @endif @if ( !empty($resource['data']->cc) ) @endif @if ( !empty($resource['data']->bcc) ) @endif
Name {{ $resource['name'] }}
Namespace {{ $resource['namespace'] }}
Subject No Subject Set, The default Namespace will be used. See Custom the subject {{ $resource['data']->subject }}
Locale {{ $resource['data']->locale }}
From @if (!collect($resource['data']->from)->isEmpty()) {{ collect($resource['data']->from)->first()['address'] }} @else {{ config('mail.from.address') }} (default) @endif
Reply To @if (!collect($resource['data']->replyTo)->isEmpty()) {{ collect($resource['data']->replyTo)->first()['address'] }} @else {{ config('mail.reply_to.address') }} (default) @endif
cc @foreach( $resource['data']->cc as $cc ) {{ $cc['address'] }} @endforeach
bcc @foreach( $resource['data']->bcc as $bcc ) {{ $bcc['address'] }} @endforeach
Preview
@if ( $resource['view_path'] !== null ) Edit Template @endif
@endsection