@extends('layout.app') @section('title', 'Teacher Management') @section('content')
@include('admin.Include.aside_account')
@if (session('success')) @endif @if ($errors->any()) @endif
@foreach ($teachers as $teacher) @endforeach
# Teacher Name Email Subject Price per session Actions
{{ $loop->iteration }} {{ $teacher->name }} {{ $teacher->user->email }} {{ $teacher->subject }} {{ $teacher->price_per_session }}
@csrf @method('DELETE')
@endsection