@extends('layouts.admin.master') @section('content')
{{ __('content.messages') }}
@csrf @method('PATCH')
@if (count($messages) > 0) @php $i = 1; @endphp @foreach ($messages as $message) @endforeach
# {{ __('content.name') }} {{ __('content.email') }} {{ __('content.phone') }} {{ __('content.message') }} {{ __('content.read_status') }} {{ __('content.action') }}
{{ $i++ }} {{ $message->name }} {{ $message->email }} {{ $message->phone }} {{ $message->message }} @if($message->read === 0) {{ __('content.unread') }} @else {{ __('content.read') }} @endif
@if ($message->read == 0) @if ($demo_mode == "on") @include('admin.demo_mode.demo-mode') @else
@method('PUT') @csrf @endif
@endif
@else {{ __('content.not_yet_created') }} @endif
@endsection