@if ($value)
    <a href="{{ route('admin.settings.attributes.download', ['path' => $value]) }}">
        <img src="{{ Storage::url($value) }}" class="image"/>
    </a>
@endif

<input
    type="file"
    name="{{ $attribute->code }}"
    class="control"
    id="{{ $attribute->code }}"
    value="{{ $value }}"
    v-validate="'{{$validations}}'"
    data-vv-as="&quot;{{ $attribute->name }}&quot;"
    style="padding-top: 5px;"
/>

@if ($value)
    <div class="form-group" style="margin-top: 5px;">
        <span class="checkbox">
            <input type="checkbox" name="{{ $attribute->code }}[delete]" id="{{ $attribute->code }}[delete]" value="1">

            <label class="checkbox-view" for="delete"></label>
                {{ __('admin::app.common.delete') }}
        </span>
    </div>
@endif