@if($message = Session::get('success'))
{{$message}}
@endif @if($message = Session::get('delete'))
{{$message}}
@endif

@can('create') @endcan

Diary Management

From
To
@foreach ($data as $key => $user) @endforeach
No Title Description Image Priority Status Data Action
{{ $user->id }} {{ $user->title }} {{ $user->description }} @if($user->image!='') not found @endif {{ $user->priority }} {{ $user->status }} {{ date("m-d-Y",strtotime($user->date_time)) }} Show @can('edit') Edit @if($user->status != 'Complete') Comment @endif @endcan @can('delete') {!! Form::open(['method' => 'DELETE','route' => ['dairy.destroy', $user->id],'style'=>'display:inline']) !!} {!! Form::submit('Remove Diary', ['class' => 'btn btn-danger']) !!} {!! Form::close() !!} @endcan