<form class="g-3 row auto-width" action="{{route('testimonials.update',$ClientSay->id)}}" method="POST" enctype='multipart/form-data'>
  <!-- For validation comment on -->
  @csrf
  @method('PUT')
  <div class="col-md-12 col-sm-12">
    <div class="g-3 row">
      <div class="col-md-12">
        <label>Client Name <span class="text-danger">*</span></label>
        <input type="text" class="form-control" placeholder="name" aria-label="title" name="name" value="{{$ClientSay->name}}">
      </div>
      <div class="col-md-12">
        <label>Designation <span class="text-danger">*</span></label>
        <input type="text" class="form-control" placeholder="Designation" aria-label="location" name="location" value="{{$ClientSay->location}}">
      </div>
      <div class="col-md-6">
        <label>Profile Image <span class="text-danger"></span></label>
        <input type="file" class="form-control" placeholder="icon" aria-label="icon" name="profile">
      </div>
      @if($ClientSay->profile!='')
      <div class="col-md-6">
        <label>Profile Image <span class="text-danger"></span></label>
        <img src="{{getTempUrl($ClientSay->profile)}}" width="50px" height="50px">
      </div>
      @endif
      <div class="col-md-12">
        <label for="priority" class="form-label">Video Url </label>
        <input type="text" class="form-control" name="video_url" aria-describedby="inputGroupPrepend" placeholder="YouTube Url" value="{!! $ClientSay->video_url !!}">
        <span class="text-danger error_video_url" style="display:none;">This field is required.</span>
      </div>
      <div class="col-md-12">
        <label for="priority" class="form-label">Priority </label>
        <input type="number" class="form-control" name="priority" aria-describedby="inputGroupPrepend" required value="{!! $ClientSay->priority !!}">
        <span class="text-danger error_priority" style="display:none;">This field is required.</span>
    </div>
      <div class="col-md-12">
        <label>Description</label>
        <textarea class="form-textarea" id="description" placeholder="description" aria-label="description" name="description" rows="4">{{$ClientSay->description}}</textarea>
      </div>

    </div>
  </div>
</form>
