@extends('_backend.app') @section('content') @include('_backend.blog._modals.create')

Blog

@if(count($blogs) > 0)
@foreach ($blogs as $blog) @endforeach
Titulek Autor Vytvořeno Publikováno Kategorie
@if(!is_null($blog->title_image)) @endif {{ $blog->title }} {{ $blog->author->name }} {{ $blog->created_at->format('j. n. Y H:i') }} @if ($blog->published_at !== null) {{ $blog->published_at->format('j. n. Y H:i') }} @else - @endif {{ $blog->category->name or '--' }}
{!! Form::open(['action' => ['Backend\BlogController@update', $blog], 'method' => 'PUT', 'class' => 'form-inline']) !!} @if ($blog->published_at === null)
@else
@endif {!! Form::close() !!}
@else

Nebyl napsán žádný článek

@endif
@endsection