@extends('layouts.admin') @section('title', __('admin.posts')) @section('breadcrumb', __('admin.group.catalogue')) @section('content')

{{ __('admin.posts_help') }}

+ {{ __('admin.new_post') }}
@forelse ($posts as $post) @empty @endforelse
{{ __('admin.title') }}{{ __('admin.category') }}{{ __('admin.published_at') }}{{ __('admin.status') }}
{{ $post->tr('title') }}
{{ $post->slug }}
{{ post_category_label($post->category) }} {{ $post->published_at?->format('d/m/Y') }} {{ $post->is_published ? __('admin.published') : __('admin.draft') }} {{ __('admin.edit') }}
@csrf @method('delete')
{{ __('admin.no_posts') }}
@include("admin.partials.pagination", ["paginator" => $posts])
@endsection