@extends('admin.layouts.main') @section('content')
@section('page_title') Courses @endsection
@if (Session::has('message')) @endif
@php $i=0; @endphp @foreach ($course as $course_data) @php $i++; @endphp @endforeach
Sr. No. Image Name Priority Status Action
{{ $i }} {{ $course_data->name }} {{ $course_data->name }} {{ $course_data->priority }} @if ($course_data->is_active) Active @else Inactive @endif
@csrf {{ method_field('DELETE') }}
@endsection @section('jscode') @endsection