@extends('admin.layouts.master')

@section('styles')
@stop

@section('title') Show Contact Message @stop

@section('metas')
@stop

@section('content')
    <!-- Content Header (Page header) -->
    <section class="content-header">
        <h1>Show Contact Message</h1>
        <ol class="breadcrumb">
            <li><a href="{{ route('dashboard') }}"><i class="fa fa-dashboard"></i> Home</a></li>
            <li><a href="{{ route('contacts') }}">Contact Messages</a></li>
            <li class="active">Show</li>
        </ol>
    </section>

    <!-- Main content -->
    <section class="content">
        <div class="row">

            <!-- /.col -->
            <div class="col-md-12">
                <div class="box box-primary">

                    <div class="box-body no-padding">
                        <div class="mailbox-read-info">
                            <h3>{{ $contact->subject }}</h3>
                            <h5>From: {{ $contact->email }}
                                <span class="mailbox-read-time pull-right">{{ $contact->created_at }}</span></h5>
                        </div>
                        <!-- /.mailbox-read-info -->

                        <div class="mailbox-read-message">
                            {{ $contact->message }}
                        </div>
                        <!-- /.mailbox-read-message -->
                    </div>
                    <!-- /.box-body -->

                </div>
                <!-- /. box -->
            </div>
            <!-- /.col -->
        </div>
    </section><!-- /.content -->
@stop

@section('scripts')
    <script type="text/javascript" src="{{ asset('admin-assets/dist/js/contact.js') }}"></script>
@stop