@extends('admin.template.master') @section('title', $title) @section('content') @php $usereventview= Auth::user()->eventview; $usereventedit= Auth::user()->eventedit; $usereventdel= Auth::user()->eventdel; @endphp

Events

@include('admin.partials.flash_message') @foreach($content as $k=>$u) @endforeach
S.no Events Title Image Action
{{ ++$k }} {{ $u->title }} @if($u->image) @else Your image will appear here. @endif @php $userId= Auth::user()->user_type; @endphp @if ($userId == 0)
{{ csrf_field() }}
@endif @if($usereventview == 1) @endif @if($usereventview == 1)
{{ csrf_field() }}
@endif
S.no Events Title Image Action
@endsection