@extends('layouts.admin') @section('title', $post->exists ? 'Edit post' : 'New post') @section('eyebrow', 'Blog') @section('heading', $post->exists ? 'Edit post' : 'New post') @section('content')
@csrf @if ($post->exists) @method('PUT') @endif
Cancel
@endsection