@extends('dashboard.index') @section('contentDashboard') @include('dashboard.page_header') @if ($message = Session::get('success'))

{{ $message }}

@endif @foreach ($posts as $i => $post) @endforeach
@lang('dashboard.title_number') @lang('dashboard.title_title') @lang('dashboard.title_category') @lang('dashboard.title_author') @lang('dashboard.title_featured') @lang('dashboard.title_active') @lang('dashboard.title_action')
{{ ++$i }} {{ $post->title }} {{ $post->category->name }} {{ $post->author->name }} {{ $post->author->last_name }} @if($post->featured == 1) @endif @if ($post->status == 1) @else @endif @can('post-edit') @endcan @can('post-delete') @include('dashboard.modal_delete') @endcan
{!! $posts->render() !!} @endsection