@extends('layouts.admin') @section('content')
@include('admin.partials.pro-hero', [ 'icon' => 'fas fa-envelope', 'title' => __('Contact Messages'), 'subtitle' => __('Review and manage contact form submissions'), 'breadcrumbs' => [ ['label' => __('Dashboard'), 'url' => route('admin.dashboard')], ['label' => __('Contact Messages'), 'url' => null], ], ]) @include('includes.admin.form-error') @include('includes.admin.form-success') @if(Session::has('success')) @endif

{{ __('All Messages') }}

@forelse($data as $row) @empty @endforelse
{{ __('Name') }} {{ __('Email') }} {{ __('Subject') }} {{ __('Date') }} {{ __('Action') }}
{{ $row->name }} {{ $row->email }} {{ $row->subject ?? __('No Subject') }} {{ $row->created_at ? $row->created_at->format('d M, Y') : 'N/A' }}
{{ __('No contact messages found.') }}
@endsection