@extends('dashboard.layouts.app') @section('content') @include('components.alert')
Filters
@forelse ($contacts as $contact) #{{ $contact->id }} @if ($contact->student)
{{ strtoupper(substr($contact->student->full_name, 0, 2)) }}
{{ $contact->student->full_name }}
@else — @endif
{{ \Illuminate\Support\Str::limit($contact->message, 80) }}
{{ $contact->created_at->format('Y-m-d') }}
{{ $contact->created_at->diffForHumans() }} @empty @endforelse
@endsection @push('styles') @endpush @push('scripts') @endpush