<form class="g-3 row auto-width" action="{{route('brands-logo.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="name" name="name">
      </div>
      <div class="col-md-12">
        <label for="validationCustomOrder" class="form-label">Type <span class="text-danger">*</span></label>
        <select class="form-control" id="branch_type_id" name="type" required>
          <option value="Our Brands">Our Brands</option>
          <option value="As Featured In">As Featured In</option>
          <option value="Our Recognition">Our Recognition</option>
          <option value="Our Technology">Our Technology</option>
          <option value="Our Clients">Our Clients</option>
        </select>
        <span class="text-danger error_name" style="display: none;">This field is required.</span>
      </div>
      <div class="col-md-6">
        <label>Image <span class="text-danger">*</span></label>
        <input type="file" class="form-control" placeholder="icon" aria-label="icon" name="image" required>
      </div>
      <div class="col-md-6">
        <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>Details</label>
        <textarea class="form-textarea" placeholder="Details" name="details"></textarea>
      </div>
    </div>
  </div>
</form>
