<form class="g-3 row auto-width" action="{{route('teams.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>Name <span class="text-danger">*</span></label>
        <input type="text" class="form-control" placeholder="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="designation">
      </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="{!! $priority + 1 !!}">
        <span class="text-danger error_priority" style="display:none;">This field is required.</span>
    </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>
  </div>
</form>
