@extends('admin.layouts.app') @section('content')

Master Topic

@foreach (['success', 'info', 'danger', 'warning'] as $msg) @if (Session::has($msg)) @endif @endforeach
{{-- Search --}}

Search

@csrf @method('GET')
@can('create-master') Create @endcan Reset Master Details {{--
@csrf @method('GET')
--}}
@forelse($masterTopics as $key => $masterTopic) @endforeach
Sr.No Master Date Title Description Status Action
{{ $masterTopic->id }} {{ $masterTopic->masterDate->date ?? '' }} {{-- || {{ $masterTopic->masterDate->type_id == '1' ? 'Master class' : 'Workshop series' }} --}} {{ \Illuminate\Support\Str::limit($masterTopic->title ?? '', 30) }} {{ \Illuminate\Support\Str::limit($masterTopic->description ?? '', 10) }}
@csrf @method('PUT')
@can('edit-master') Edit @endcan @can('delete-master')
@csrf @method('DELETE')
@endcan
@endsection