@extends($master)

@section('title', 'All Product')

@section('body')
    <div class="page-header">
        <div>
            <h1 class="page-title">Message</h1>
        </div>
    </div>

    <!-- Row -->
    <div class="row row-sm">
        <div class="col-lg-12">
            <div class="card">
                <div class="card-header border-bottom">
                    <h3 class="card-title">Messages</h3>
                </div>
                <div class="card-body">
                    <div class="table-responsive">
                        <table class="table table-bordered text-nowrap border-0" id="basic-datatable">
                            <tr>
                                <th class="wd-15p border-bottom-0">Id</th>
                                <td class="wd-15p border-bottom-0">{{$message->id}}</td>
                            </tr>
                            <tr>
                                <th class="wd-15p border-bottom-0">Name</th>
                                <td class="wd-15p border-bottom-0">{{$message->name}}</td>
                            </tr>
                            <tr>
                                <th class="wd-15p border-bottom-0">Mobile</th>
                                <td class="wd-15p border-bottom-0">{{$message->phone}}</td>
                            </tr>
                            <tr>
                                <th class="wd-15p border-bottom-0">Email</th>
                                <td class="wd-15p border-bottom-0">{{$message->email}}</td>
                            </tr>
                            <tr>
                                <th class="wd-15p border-bottom-0">Subject</th>
                                <td class="wd-15p border-bottom-0">{{$message->subject}}</td>
                            </tr>
                            <tr>
                                <th class="wd-15p border-bottom-0">Message</th>
                                <td class="wd-15p border-bottom-0">{{$message->message}}</td>
                            </tr>
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- End Row -->

@endsection


