@extends('admin.layouts.admin') @section('title', __('contact::lang.show_title')) @section('content')

{{ __('contact::lang.show_title') }}

{{ __('contact::lang.show_description') }}

{{ __('contact::lang.actions.reply_email') }} @if ($contact->customer) {{ __('contact::lang.actions.send_mail') }} @endif
@csrf @method('PUT')
@include('admin/shared/input', ['name' => 'subject', 'label' => __('contact::lang.subject'), 'value' => $contact->subject, 'readonly' => true])
@include('admin/shared/input', ['name' => 'email', 'label' => __('global.email'), 'value' => $contact->email, 'readonly' => true, 'type' => 'email'])
@include('admin/shared/input', ['name' => 'created_at', 'label' => __('global.created'), 'value' => $contact->created_at->format('d/m/y H:i'), 'readonly' => true])
@include('admin/shared/select', [ 'label' => __('global.status'), 'name' => 'status', 'value' => $contact->read ? 'read' : 'unread', 'options' => [ 'read' => __('contact::lang.status.read'), 'unread' => __('contact::lang.status.unread') ], 'disabled' => true, ])
@include('admin/shared/textarea', [ 'label' => __('global.content'), 'name' => 'message', 'value' => $contact->message, 'rows' => 5, ])
@endsection