@include('admin.partials.field', ['name' => 'title', 'label' => 'Title', 'value' => $post->title, 'required' => true, 'full' => true])
@include('admin.partials.slug-field', ['model' => $post, 'from' => 'f_title', 'source' => 'title'])
@error('blog_category_id')
{{ $message }}
@enderror
@include('admin.partials.field', ['name' => 'excerpt', 'label' => 'Excerpt', 'type' => 'textarea', 'rows' => 3, 'value' => $post->excerpt, 'full' => true])
@include('admin.partials.field', ['name' => 'body', 'label' => 'Body', 'type' => 'textarea', 'rows' => 16, 'value' => $post->body, 'required' => true, 'full' => true, 'hint' => 'HTML allowed (
,
, , …).'])
@include('admin.partials.field', ['name' => 'tags', 'label' => 'Tags', 'value' => implode(', ', $post->tags ?? []), 'placeholder' => 'health, tea, tips', 'hint' => 'Comma separated.'])
@include('admin.partials.field', ['name' => 'author', 'label' => 'Author', 'value' => $post->author])