<form class="row g-3 auto-width update_images" action="{{ route('product-image.update',$image->id)}}" method="post" enctype='multipart/form-data'>
    @csrf
    @method('patch')
    <div class="col-md-12">
        <label for="image" class="form-label">Image <span class="text-danger"><b></b></span></label>
        <input type="file" name="image" class="form-control" placeholder="" >
    </div>
   
    <div class="col-md-12">
        <label for="priority" class="form-label">Priority <span class="text-danger"><b>*</b></span></label>
        <input type="number" name="priority" class="form-control" value="{!! $image->priority !!}" placeholder="Enter Priority">
    </div>
    <div class="col-md-12">
        <img src="{{getTempUrl($image->image_url)}}" width="200px" height="200px">
    </div>
</form>
