@section('optional_css') @endsection @section('optional_js') @endsection

{{ __('Contact') }}

@if(session('success')) {{ session('success') }} @endif @if(session('delete')) {{ session('delete') }} @endif {{ __('Contact') }}
@forelse($contacts as $contact) @empty @endforelse
{{ __('Name') }} {{ __('Email') }} {{ __('Subject') }} {{ __('Status') }} {{ __('Action') }}
{{ $contact->name }} {{ $contact->email }} {{ $contact->subject }} {{ $contact->read?'Readed':'' }} @can('contact.show') {{ __('Read') }} @endcan @can('contact.destroy')
@csrf @method('delete') {{ __('Delete') }}
@endcan
{{ __('Empty') }}
{{ $contacts->links('vendor.pagination.bootstrap-4') }}