@extends('admin.partial.template-full') @section('section')
# {{$message->id}}
Contact Form Message

@if($message->responded_at)
Admin Response Sent
{{$message->responded_at->diffForHumans()}}
@endif
Status
@if($message->read_at == null)
Open
@else
Closed
@endif
Response Requested
@if($message->response_requested == 1)
Yes
@else
No
@endif
Created
{{$message->created_at->diffForHumans()}}
@if($message->user && $message->user->last_active_at)
User Last Active
{{$message->user->last_active_at->diffForHumans()}}
@endif @if(!$message->read_at)
@endif
@{{$message->user->username}}
{{$message->user->email}}

Message Body

{{$message->message}}


Admin Reply:

@if($message->responded_at)

{{$message->response}}

@else
@csrf
@if ($errors->any()) @foreach ($errors->all() as $error)

{{ $error }}

@endforeach @endif
0/500
@endif
@endsection @push('scripts') @if($message->responded_at == null) @endif @endpush