Fixed accessories “current image” path in edit form

This commit is contained in:
snipe 2020-08-24 14:30:55 -07:00
parent 5aeac3c9e0
commit 232e3f30aa
No known key found for this signature in database
GPG key ID: 10BFFDA3ED34B5AC

View file

@ -29,7 +29,7 @@
<label class="col-md-3 control-label" for="image_delete">{{ trans('general.image_delete') }}</label>
<div class="col-md-5">
{{ Form::checkbox('image_delete') }}
<img src="{{ Storage::disk('public')->url('uploads/accessories/'.e($item->image)) }}" class="img-responsive" />
<img src="{{ Storage::disk('public')->url('accessories/'.e($item->image)) }}" class="img-responsive" />
{!! $errors->first('image_delete', '<span class="alert-msg" aria-hidden="true">:message</span>') !!}
</div>
</div>