@extends('dashboard.layouts.app') @section('content') @include('components.alert')
Back to Contacts
Contact Information

Details about the student and their submitted message.

Contact ID
#{{ $contact->id }}
Submitted At
{{ $contact->created_at->format('Y-m-d H:i') }} {{ $contact->created_at->diffForHumans() }}
Student
@if ($contact->student)
{{ strtoupper(substr($contact->student->full_name, 0, 2)) }}
{{ $contact->student->full_name }}
@else — @endif
Message
{{ $contact->message }}
@endsection @push('styles') @endpush