@extends('admin.layout') @section('title', 'Blog Authors') @section('content')

Blog Authors

@if(session('success')) @endif @if($errors->any()) @endif
{{ $authors->total() }} Registered Author(s)
@if($authors->isEmpty())
No Authors Found

Start adding academic trainers and authors to attribute your academy publications.

@else
@foreach($authors as $author) @endforeach
ID Photo Author Details Status Added Date Actions
#{{ $author->blogauthorid }} @if($author->avatar) {{ $author->blogauthorname }} @else
{{ strtoupper(substr($author->blogauthorname, 0, 1)) }}
@endif
{{ $author->blogauthorname }}
@if($author->email) {{ $author->email }} @endif
@if($author->status === 'active') Active @else Inactive @endif {{ $author->created_at ? $author->created_at->format('M d, Y') : 'N/A' }}
@csrf @method('DELETE')
@if($authors->hasPages())
{{ $authors->links() }}
@endif @endif
@endsection @push('scripts') @endpush