@extends('layouts.admin') @section('content-title') {{ __('events.Events Managements') }} @endsection @section('css') @endsection @section('content-breadcrumbs') {{ Breadcrumbs::render('admin.events')}} @endsection @section('content')
@if(session()->has('success')) @endif @if(session()->has('deleted')) @endif
@foreach($events as $event)

{{date('d/m', strtotime($event->_From))}}

{{date('d/m', strtotime($event->_To))}}

{{str_limit($event->title,50)}}

@if($event->image != "0") @endif

{{str_limit($event->description,150)}}

{!!Form::open()->post()->route('admin.event.delete')->attrs(['style'=>'display:inline'])!!} {!!Form::hidden('id')->value($event->id)!!} {!!Form::submit('')->color('danger')!!} {!!Form::close()!!}
@endforeach
{{ $events->links() }}
@endsection