@extends('layouts.admin') @section('content')

Journal details

@if($diary->type == 'Image') @endif @if(isset($diary->video_link)) @endif
Date {{ date('m/d/Y', strtotime($diary->dated)) }}
log entry - date time {{ date('h:i:s A | M d, Y', strtotime($diary->created_at)) }}
Title {{ $diary->title }}
Type {{ $diary->type }}
Location {{ ($diary->location) ? $diary->location : 'N/A' }}
Journal Entry {{ $diary->description }}
Images @if($diary->images->count() > 0) @foreach($diary->images as $image) @if($image->image_type == "Uploaded") @else @endif @endforeach @endif
@csrf
@csrf
Actions
@csrf @method('DELETE')
Video
@endsection