<div class="table-responsive pt-3 pb-3">
    <table class="table table-sm table-bordered table-hover">
        <thead class="text-primary">
            {{ $thead }}
        </thead>
        <tbody>
            {{ $tbody }}
        </tbody>
    </table>
</div>



<div>
    <label for="title">{{ __('product.photo') }}</label>
    <i class="required">&nbsp; *</i>

    <input type="file" name="photo" id="photo"
           class="form-control photo @error('photo') is-invalid  @enderror"
           value="{{old('photo')}}" autocomplete="photo" autofocus multiple>
    @error('photo')
    <span class="invalid-feedback" role="alert">
                                                <strong>{{ $message }}</strong>
                                            </span>
    @enderror
</div>
<div class="row">
    @foreach($product->gallery_images as $upload_photo)
        <div class="col-md-2">
            <a class="btn btn-sm btn-danger btn_photo"
               href="{{route('uploads.destroyFile', $upload_photo->id)}}">
                <i class="icon fa fa-close"></i>
            </a>
            <img id="holder" class="img-thumbnail"
                 src="{{ \Illuminate\Support\Facades\Storage::disk('product')->url($upload_photo->path) }}"
                 alt="">
        </div>
    @endforeach
</div>
