<form class="g-3 row auto-width" action="{{route('testimonials.store')}}" method="POST" enctype='multipart/form-data'>
  <!-- For validation comment on -->
  @csrf
  <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="Client Name" aria-label="title" name="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">
      </div>
      <div class="col-md-12">
        <label>Profile <span class="text-danger"></span></label>
        <input type="file" class="form-control" placeholder="icon" aria-label="icon" name="profile">
      </div>
      <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">
        <span class="text-danger error_video_url" style="display:none;">This field is required.</span>
      </div>
      <div class="col-md-12 d-none">
        <label for="priority" class="form-label">Priority </label>
        <input type="number" class="form-control" name="priority" aria-describedby="inputGroupPrepend" required value="{!! $priority + 1 !!}">
        <span class="text-danger error_priority" style="display:none;">This field is required.</span>
      </div>
      <div class="col-md-12">
        <label>Description</label>
        <textarea id="description" placeholder="description" aria-label="description" name="description" rows="4"></textarea>
      </div>
    </div>
  </div>
</form>