<div class="modal-dialog">
        <div class="modal-content">
        <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
            <h4 class="modal-title">Reply Message</h4>
        </div>
        <div class="modal-body">
          <form class="form-horizontal" method="post" id="composeMessageForm" name="composeMessageForm" action="{{url('connection/message')}}">
              <input type="hidden" name="_token" value="{{ csrf_token() }}">
              <input type="hidden" name="sender_profile_id" id="sender_profile_id" value="{{$msg_details->sender_profile_id}}">
              <div class="form-group">
                <label class="col-sm-2 control-label" >To</label>
                <div class="col-sm-10">
                    <input type="text" name="to" id="to" class="form-control" data-bv-field="to" readonly="readonly" value="{{ucwords($msg_details->name)}}">
                    <input type="hidden" name="connection_id" id="connection_id" value="{{$msg_details->id}}">
                </div>
              </div>
              <div class="form-group">
                <label class="col-sm-2 control-label" >Subject</label>
                <div class="col-sm-10">
                    <input type="text" name="subject" id="Subject" readonly="readonly" class="form-control" data-bv-field="subject" value="Re:I would like to Connect">
                </div>    
              </div>
              <div class="form-group" style="max-height: 450px; overflow-y: scroll;">
                <label class="col-sm-2 control-label" >Message</label>
                <div class="col-sm-10" >
                    <textarea name="message"  id="message" class="form-control" rows="10">
                      &#10; &#10;&#10;_____________________________________________________________________ &#10; On {{date('D, M d,Y @ h:i a',strtotime($msg_details->updated_at))}}, {{ucwords($msg_details->name)}} wrote:&#10;{{$msg_details->message}}                      
                    </textarea>
                </div>    
              </div>
              <div class="form-group">
                  <div class="col-sm-2"></div>
                  <div class="col-md-10">
                      <button data-dismiss="modal" class="btn-close btn delete-btn clear_form pull-right" type="button">Close</button>
                      <button type="submit" value="Submit" class="btn compose-btn">Send</button>
                  </div>
              </div>
          </form>          
        </div><!-- End of Modal body -->
        </div><!-- End of Modal content -->
        </div><!-- End of Modal dialog -->