@extends('backend.layouts.app') @section('title') {{ __('contact_list') }} @endsection @section('content')

{{ __('contact_list') }}

@if ($contacts->count() > 0) @if (userCan('contact.delete')) @endif @endif @forelse ($contacts as $contact) @if (userCan('contact.delete') || userCan('contact.view')) @endif @empty @endforelse
# {{ __('name') }} {{ __('email') }} {{ __('subject') }} {{ __('date') }}{{ __('action') }}
{{ $loop->iteration }} {{ $contact->name }} {{ $contact->email }} {{ $contact->subject }} {{ $contact->created_at }} @if (userCan('contact.view')) @endif @if (userCan('contact.delete'))
@method('DELETE') @csrf
@endif
{{ __('no_data_found') }}
{{-- Message Modal --}} @endsection @section('script') @endsection