@extends('admin.layouts.app') @section('title', 'All Classes') @section('section') @php if (!empty($classes->content)) { // Decode the 'content' JSON string into an associative array. $decodedData = json_decode($classes->content, true); } @endphp

Classes Form

@csrf

Classes Section


Classes Section

{{-- --}} {{-- --}} @foreach($get_classes as $get_class) {{-- --}} {{-- --}} @endforeach
TitleStart DateEnd DateStatus Image Description Edit Delete
{{$get_class->title}}{{$get_class->start_date}}{{$get_class->end_date}}{{$get_class->status == '1' ? 'Approve' : 'Not Approve'}} {!! substr(strip_tags($get_class->description), 0, 120) !!} @if (strlen(strip_tags($get_class->description)) > 100) ... @endif Edit Delete
@endsection @section('script') @endsection