@extends('layouts.admin')

@section('title', 'Edit Blog Post')
@section('header_title', 'Edit: ' . $post->title)

@section('content')
<form action="{{ route('admin.blog.posts.update', $post) }}" method="POST" enctype="multipart/form-data">
    @method('PUT')
    <div class="bg-white dark:bg-gray-800 shadow-md rounded-lg p-6">
        @include('blog::admin.posts._form', ['post' => $post, 'categories' => $categories, 'tags' => $tags])
    </div>
</form>
@endsection