@extends('admin.layout.app') {{-- makes everything from admin.app appear here --}} @section('heading', 'All Team Members') @section('rightside_button') Add New @endsection @section('main_content')
SL | Photo | Name | Position | Status | Actions |
---|---|---|---|---|---|
{{ $loop->iteration }} | {{-- helps numbering 1,2,3 dynamically --}}
@if ($item->photo)
|
{{ $item->name }} | {{ $item->position }} | {{ $item->status === 'show' ? 'active' : 'inactive' }} | Edit Delete |