@extends('admin.app') @section('title', 'Blog - Articole') @section('content_header', 'Blog articole blog') @section('content')

Articole

@if(count($posts) > 0)
@foreach($posts as $post) @endforeach
@include('admin._partials.sort_snippet', ['_field' => 'id_post', '_title' => '#']) @include('admin._partials.sort_snippet', ['_field' => 'title', '_title' => 'Titlu']) @include('admin._partials.sort_snippet', ['_field' => 'created_at', '_title' => 'Create la'])  
{{ $post->id_post }} {{ $post->title }} {{ $post->created_at }} vizualizare editare stergere
@if($posts->hasPages()) @endif @else
Nu exista articole.
@endif
@endsection