<div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header" style="text-align: center;">
        <h5 class="modal-title" id="exampleModalLabel" >Rename File</h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <form method="post" action="{{route('customer.document.rename')}}" enctype="multipart/form-data" >
        {{csrf_field()}}
      <div class="modal-body" style="height: 250px;">
        <input type="hidden" name="document_id" value="{{$document->id}}">

        <div class="form-group form-group-sm">
            <div class="col-xs-4">
                <label>File Name</label>
            </div>
            <div class="col-xs-8">
                <input type="text" value="{{$document->name}}"  name="name" placeholder="Enter Name" class="form-control">
            </div>
        </div>
        
        <br>
      </div>

      <div class="modal-footer">
        <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
        <button type="submit" class="btn btn-primary">Rename</button>
      </div>
      </form>
    </div>
  </div>