This commit is contained in:
Ludovic CANDELLIER
2021-11-07 17:16:35 +01:00
parent 46b751c361
commit c7c8e18cbc
11 changed files with 41 additions and 35 deletions

View File

@@ -8,7 +8,7 @@
</button>
@if ($can_edit ?? true)
<button type="button" class="btn btn-xs btn-outline-danger">
<i class="fas fa-trash" data-index="{{ $key }}"></i>
<i class="fas fa-trash" data-index="{{ $key }}" data-id="{{ $image['id'] }}"></i>
</button>
@endif
</figcaption>

View File

@@ -15,7 +15,7 @@
@endcomponent
@include('boilerplate::load.fileinput')
@include('load.form.upload.fileinput')
@if ($no_popup ?? true)
@push('js')
@@ -52,9 +52,11 @@
}
}
@if ($load_url)
$(function() {
{{ $prefix ?? '' }}loadImages();
});
@endif
</script>
@if ($no_popup ?? true)