@extends('home') @section('title') @lang('site.site_name') @endsection @section('styles') @endsection @section('content')
{!! __(ucfirst(Str::plural($section))) !!}

@foreach ($items as $index => $item) @endforeach
{{__('Title')}} {{__('Status')}} {{__('Date')}}
{{ $loop->index + $items->firstItem() }} @if (@$item->photo) @elseif (@$item->video) @elseif (@$item->image->small) @else @endif {{ $item->title }} {{ $item->created_at->format('Y-m-d') }} {{ $item->hits }} {{ Form::open(['method' => 'DELETE', 'route' => ['admin.'.$section.'.destroy',$item->id]]) }} {{ Form::close() }}
@endsection @section('scripts') {!! Html::script(Theme::current()->assetPath.'/global/plugins/bootstrap-confirmation/bootstrap-confirmation.min.js') !!} {!! Html::script(Theme::current()->assetPath.'/global/plugins/select2/js/select2.full.min.js') !!} {!! Html::script(Theme::current()->assetPath.'/global/plugins/bootstrap-fileinput/bootstrap-fileinput.js') !!} {!! Html::script(Theme::current()->assetPath.'/global/plugins/bootstrap-markdown/lib/markdown.js') !!} {!! Html::script(Theme::current()->assetPath.'/global/plugins/bootstrap-switch/js/bootstrap-switch.min.js') !!} {!! Html::script(Theme::current()->assetPath.'/global/plugins/bootstrap-markdown/js/bootstrap-markdown.js') !!} {!! Html::script(Theme::current()->assetPath.'/global/plugins/jquery-validation/js/jquery.validate.min.js') !!} {!! Html::script(Theme::current()->assetPath.'/global/plugins/jquery-validation/js/additional-methods.min.js') !!} {!! Html::script(Theme::current()->assetPath.'/pages/scripts/form-validation.js') !!} {!! Html::script(Theme::current()->assetPath.'/global/plugins/jquery-ui/jquery-ui.min.js') !!} @endsection