@extends('adminlte::page') @section('content') @section('content_header', __('admin.articles'))
@if(count($errors) > 0)
@foreach($errors->all() as $error)

{{$error}}

@endforeach
@endif @if(Session::has('success'))

{{ Session::get('success') }}

@endif
@lang('admin.create_article')
@foreach($articles as $row) @endforeach
ID @lang('admin.title') @lang('admin.page_views') @lang('admin.date') @lang('admin.language') @lang('admin.edit') @lang('admin.delete')
{{$row->id}} {{$row->title}} {{$row->page_views}} {{\Carbon\Carbon::parse($row->created_at)->translatedFormat('M d, Y')}} @lang('admin.edit')
{{ csrf_field() }} {{ method_field('DELETE') }} @lang('admin.delete')
@if($articles->isEmpty())
@lang('admin.no_record').
@endif
{{ $articles->onEachSide(1)->links() }} @endsection