@extends('admin.layout.main')
@section('content')
<div class="row">
    <div class="col-lg-12" style="padding-left: 4px;padding-right: 4px;">
        <div class="card m-b-30" style="border-radius: 5px;">
            <div class="card-header">
                <h5 class="card-title" style="font-weight: bold; padding-top: 15px; font-size: 20px;">Message Reply</h5>
            </div>

            <div class="card-body" style="padding-bottom: 50px;">
            <form action="{{url('admin/mesgreply')}}" method="post">@csrf 
            	<input type="hidden" name="msg_id" value="{{$msg_data->id}}">

            	<p style="padding-left:15px">
            		Username: {{$msg_data->username}} <br>
            		Name: {{$msg_data->name}} <br>
            		Email: {{$msg_data->email}} <br>
            		Message: {!! $msg_data->message !!} <br>
            	</p>
		      	<div class="col-md-4">
		            <input style="margin-bottom: 5px;margin-top: 10px;height: 38px;" type="text" class="form-control" name="subject" placeholder="Enter Subject" required>
		      	</div>

		      	<div class="col-md-4">
		            <textarea rows="3" style="margin-bottom: 5px;margin-top: 10px;width: 100%;background: transparent;border: 1px solid #41b985;border-radius: 4px;padding-left: 10px;color: #fff;" placeholder="Enter Message Here..." name="msg" required></textarea>    
		      	</div>

		      	<div class="col-md-4">                    
		            <button style="height: 38px;background: #f85005;color: #fff;" type="submit" class="btn">Send Message</button> 
		        </div>
            </form>
           </div>
       </div>
   </div>
</div>
@endsection