{{ isset($post) ? 'Edit Post' : 'Create New Post' }}

@if ($errors->any())
Whoops! There were some problems with your input.

@endif
@csrf @if (isset($post)) @method('PUT') @endif
Category: {{-- --}}
Title:
Date:
Location:
Description:
Image: @if (isset($post) && $post->image) @endif